Software Engineer Internship Interview Questions

23,458 software 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.

Question: Designed an efficient key-value data structure, each element has an elapsed time. For example, elements A with elapsed time 15 (keyA , (valueA , 15)) will be removed from the data structure after 15 seconds from the time it was added to the data structure
avatar

Software Engineer(Internship)

Interviewed at Google

4.4
Aug 21, 2018

Question: Designed an efficient key-value data structure, each element has an elapsed time. For example, elements A with elapsed time 15 (keyA , (valueA , 15)) will be removed from the data structure after 15 seconds from the time it was added to the data structure

Viewing 1741 - 1750 interview questions

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