r/Python • • Jan 08 '20

Visualizing Bubble Sort

Post image
2.1k Upvotes

73 comments sorted by

View all comments

1

u/JesusChristPT Jan 08 '20

ELI5 on what these curves mean anyone? Please.

3

u/vswr [var for var in vars] Jan 08 '20

Here's a video from Tom Scott that goes into some detail about what is happening. Once you understand how sorting works, you'll understand the curves and lines as items move around in the list.