T. Rowe Price Interview Question

How would you implement binary search?