UNIVERSITY CS FUNDAMENTALS

Visualize How
Algorithms
Think

Step through every comparison, swap, and merge.
Understand sorting from first principles.

Explore Algorithms
9 Algorithms
0 Backend
Replays
SORTING ALGORITHMS

Pick an Algorithm

From O(n²) basics to O(n log n) powerhouses — every algorithm covered in your CS curriculum.

Bubble Sort

Comparison
Default Comparing Swapping Sorted
0 Comparisons
0 Swaps
Ready Status
Best Case
Average
Worst Case
Space

About

Pseudocode