Zuora Interview Question

How to implement binary search