Question d’entretien chez CyberArk

coding question, Search in a sorted and rotated Array.