Domanda di colloquio di Uber

Asked binary search leetcode, common question