Software Developer Intern Interview Questions

2,880 software developer intern interview questions shared by candidates

Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in the array, return [-1, -1]. Follow up: Could you write an algorithm with O(log n) runtime complexity?
avatar

Software Developer Intern

Interviewed at Rapid7

3.4
Oct 29, 2020

Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. If target is not found in the array, return [-1, -1]. Follow up: Could you write an algorithm with O(log n) runtime complexity?

Viewing 2281 - 2290 interview questions

Glassdoor has 2,880 interview questions and reports from Software developer intern interviews. Prepare for your interview. Get hired. Love your job.