CyberArk Interview Question

coding question, Search in a sorted and rotated Array.