Hulu Interview Question

Find the lower bound of a given number in a sorted array.

Interview Answers

Anonymous

May 31, 2016

Use binary search

Anonymous

Aug 10, 2017

If it's sorted, how would it possibly not be the first or last one depending on if it was sorted in asc or desc?