Problems / Binary Search / Search in Rotated Sorted Array
#32 Medium Time O(log n) Space O(1) Animated

Search in Rotated Sorted Array

Search a target in a rotated sorted array.

LeetCode ↗
Approach: Binary Search
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps