Pregunta de entrevista de Dexcom

How do you to do binary search?