Question d’entretien chez LinkedIn

rotated array find a specific number