Bloomberg interview question

Find the target number in a rotated sorted array