Question d’entretien chez LinkedIn

Find an element in a rotated array.