Phenom interview question

Binary search over rotated array.