Pregunta de entrevista de DriveNets

Explain how binary search works.