Question d’entretien chez Acme Markets

Binary Search coding question problem