Question d’entretien chez Google

Binary search question in any programming language