Question d’entretien chez ABC

about binary search and asked to implement binary search