DataCare interview question

Implement Binary Search