Question d’entretien chez FactSet

find number in rotated sorted array