Pregunta de entrevista de Tata Consultancy Services

Write pseudo code for binary search