Question d’entretien chez Tech Mahindra

Implement binary search in java