Question d’entretien chez Test Yantra

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