Pregunta de entrevista de Sailthru

Please code out the algorithm for binary search