Nagarro Interview Question

Rorated sorted array using binary search