Pregunta de entrevista de Tarento

1 Coding question based on the binary search