DSA Visualizations
Sorting
Graph
Dynamic Programming
Tree
Bubble Sort
Simple sorting algorithm that repeatedly steps through the list
Sorting Algorithms
Bubble Sort repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order. The pass through the list is repeated until the list is sorted.
Array Size:20
Speed:50%
Step: 0 / 0
Explanation:
Click play or step to start the visualization.