Domanda di colloquio di CoBank

Solve a binary search programming problem on a whiteboard.