Intuit interview question

apply binary search in a sorted and rotated array