Pregunta de entrevista de LinkedIn

Find an element in a rotated array.