Genpact Interview Question

can you implement binary search