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

25

u/Chilonthebw Jan 08 '20

You have bogosort but didn't publish the graph for that?!?!? I want a follow-up post with that please!

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?

1

u/Kaligule Jan 09 '20

I don't really get it. What do you use for visualisation? There is no library you import and it doesn't look like you are using the turtle module.