r/programming • • Dec 02 '19

Bubble sort visualization

7.4k Upvotes

268 comments sorted by

View all comments

-2

u/Dank-memes-here Dec 02 '19

Bad animation. Should do 1 less comparison each run, and early-out once sorted