Question d’entretien chez AlphaSights

How's the binary search works? time complexity