Question DSA-SRCH-0050
MediumA sorted array has been rotated at an unknown point. What is the time complexity of searching it with a modified binary search (distinct values)?
- A.
O(n)
- B.
O(1)
- C.
Sign up free to see the answer and a step-by-step explanation.