Question d’entretien chez Cognizant

DSA question, implement searching on given sorted array