Domanda di colloquio di Acme Markets

Binary Search coding question problem