r/Python • • Jan 08 '20

Visualizing Bubble Sort

Post image
2.1k Upvotes

73 comments sorted by

View all comments

48

u/thebuffed Jan 08 '20 edited Jan 10 '20

You can check out the repository or a tutorial if you're interested

5

u/VegasTamborini Jan 08 '20

Shouldn't there be one last column on the end where everything is sorted, and no swaps were made, or am I misremembering how bubblesort works?