Birdeye Interview Question

Search in sorted and rotated array