Question d’entretien chez CoBank

Solve a binary search programming problem on a whiteboard.