⚡ SORTING VISUALIZER
Space = Play/Pause • R = Reset • S = Step • N = New Array
Time:
O(n²)
Space:
O(1)
Stable:
Yes
Desc:
Repeatedly compares adjacent elements and swaps them.
Comparisons:
0
Swaps:
0
Array Accesses:
0
Elapsed:
0.00s
Bubble Sort
Comp:
0
|
Swaps:
0
|
Time:
0.00s
Quick Sort
Comp:
0
|
Swaps:
0
|
Time:
0.00s
Algorithm:
Bubble Sort
Insertion Sort
Selection Sort
Merge Sort
Quick Sort
Heap Sort
Radix Sort
Shell Sort
Race vs:
Bubble Sort
Insertion Sort
Selection Sort
Merge Sort
Quick Sort
Heap Sort
Radix Sort
Shell Sort
Distribution:
Random
Nearly Sorted
Reversed
Few Unique
Speed:
25ms
Size:
60
▶ Play
⏭ Step
🔄 Reset
🎲 Shuffle
⚔ Race Mode
🔊 Sound