Engineer Internship Interview Questions

23,893 engineer 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 1791 - 1800 interview questions

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