Zuora interview question

How to implement binary search