FactSet interview question

find number in rotated sorted array