0033. Search in Rotated Sorted Array
Modified Binary Search — O(log n) | Interactive Visualization
Load
target=0 (found)
target=3 (not found)
No rotation
Single element
Two elements
target=5 (left half)
Step
Play
Pause
Reset
Speed:
800ms
Click "Step" or "Play" to start the binary search animation.
Target
0
Step
0
Sorted Half
—
Status
Ready
Array
Step Log