https://ide.codingblocks.com/s/246362 sir and is coming correct test case is not passing can u tell me the error
Pivot of sorted and rotated
You are doing cin>>a[n]!
also this method will not accepted by interviewers!
try it with binary search with O(logn) complexity
Thank u sir i will try it with binary search
mark doubt as resolved if satisfied
1 Like