Pregunta de entrevista de Cognizant

To implement the binary search and dry run it.