Pergunta de entrevista da empresa Cognizant

To implement the binary search and dry run it.