Internship Engineer Interview Questions

24,416 internship engineer interview questions shared by candidates

Given a binary array of 0 and 1, u are provided with a function taking l and r as inputs and it return a boolean answer whether there exists a '1' in between l and r or not. We needed to find the indices of every occurence of '1' in the array using minimum calls to the given function.
avatar

Software Engineer(Internship)

Interviewed at Google

4.4
Jul 19, 2024

Given a binary array of 0 and 1, u are provided with a function taking l and r as inputs and it return a boolean answer whether there exists a '1' in between l and r or not. We needed to find the indices of every occurence of '1' in the array using minimum calls to the given function.

Viewing 1831 - 1840 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 24,416 interview questions and reports from Internship engineer interviews. Prepare for your interview. Get hired. Love your job.