Bloomberg interview question

Find pivot element in a rotated sorted array.