Zscaler interview question

Find number in rotated sorted array