CyberArk interview question

coding question, Search in a sorted and rotated Array.