Salesforce Interview Question

Find the pivot element in a rotated sorted array?