Question d’entretien chez Snapsheet

Write the binary search algorithm.