⚔ Sorting Algorithms

Quick Sort Monster

Quick sort is an efficient divide-and-conquer sorting algorithm. It selects a 'pivot' element and partitions the array around it.

šŸ“Š
0
Array Size
āš–ļø
0
Comparisons
šŸ”„
0
Swaps
🐾
0
Total Steps
QUICK SORT

Execution Log

Ready. Click Play to start quick sort.
Sorting Challenge
Can you sort the array manually with the optimal number of swaps? Click any two bars to swap them.

šŸ› ļø Array Controls

⚔ Algorithm Complexity

Worst-case Time O(n²)
Average Time O(n log n)
Space Complexity O(log n)