Sears interview question

Write program for Binary search.