Pregunta de entrevista de CarWale

find element in rotated and sorted array