Adobe interview question

Sort 0 1 2 Search in rotated array