Pregunta de entrevista de Epic

to write a program based on binary search.