Question d’entretien chez Rakuten

Given an array find element using binary search