Pregunta de entrevista de Test Yantra

Write a binary search code on a list to find an element.