LinkedIn interview question

rotated array find a specific number