Pregunta de entrevista de Salesforce

Find the pivot element in a rotated sorted array?