Pregunta de entrevista de Expedia Group

Finding element in sorted rotated array.