Question d’entretien chez Atlassian

Finding an element in a rotated sorted array