Developer Internship Interview Questions

23,902 developer internship 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 1761 - 1770 interview questions

Glassdoor has 23,902 interview questions and reports from Developer internship interviews. Prepare for your interview. Get hired. Love your job.