sanyamjain036 / HacktoberFest2022

In this repository, you can find the solutions (as source code) for the problems in LeetCode.
MIT License
3 stars 61 forks source link

Search in Rotated Sorted Array #47

Closed RushikeshMali05 closed 1 year ago

RushikeshMali05 commented 1 year ago

I have added the code for Rotated Sorted Array which uses a modified Binary Search approach, the time and space complexities are O(log n) and O(1) respectively.