Google Phone screening round

Anonymous User
1245
May 07, 2025
May 07, 2025

Given an unsorted array, find out the numbers that are always findable if we apply binary search. Also instead of middle function, we are given f(l,r) which can return any index which lies in a range.

Input : 2,1,3,5,0,6
Output he told me to come up with. So I am not sure what is the correct answer

Comments (9)