Pregunta de entrevista de ORTEC

Describe binary search algorithm including writing code and describing complexity