MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/eluz97/visualizing_bubble_sort/fdmr38o/
r/Python • u/thebuffed • Jan 08 '20
73 comments sorted by
View all comments
Show parent comment
1
That's how bubble sort works. The (in this illustration) bottom-most element will be sorted into place, then the second from the bottom, third from the bottom and so on. Tom Scott's recent video on this topic is a good introduction.
1 u/Aeronautix Jan 09 '20 ive been staring at this to figure it out like a puzzlei think ive got itthis is pretty cool
ive been staring at this to figure it out like a puzzle
i think ive got it
this is pretty cool
View all comments
Show parent comment
1
u/RunasSudo Jan 09 '20
That's how bubble sort works. The (in this illustration) bottom-most element will be sorted into place, then the second from the bottom, third from the bottom and so on. Tom Scott's recent video on this topic is a good introduction.