Microsoft interview question

find pivot in rotated sorted array