Pergunta de entrevista da empresa Epic

to write a program based on binary search.