Pregunta de entrevista de Cvent

A question about binary search (can't remember).