Software Developer Internship Interview Questions

23,674 software 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 1741 - 1750 interview questions

Glassdoor has 23,674 interview questions and reports from Software developer internship interviews. Prepare for your interview. Get hired. Love your job.