DoorDash interview question

Leetcode medium binary search problem