Pergunta de entrevista da empresa Coding Blocks

They asked me implement simple binary search