Developer Intern Interview Questions

5,259 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 4181 - 4190 interview questions

Glassdoor has 5,259 interview questions and reports from Developer intern interviews. Prepare for your interview. Get hired. Love your job.