Hacker News new | ask | show | jobs
by muti 787 days ago
Visualisation https://www.youtube.com/watch?v=k1XkZ5ANO64

Wikipedia page https://en.wikipedia.org/wiki/American_flag_sort

4 comments

The next video that came up for me was "sorting algorithms to relax/study to": https://www.youtube.com/watch?v=vr5dCRHAgb0

I'm almost embarrassed by how long I've watched it!

No offense, but I don't think that visualization helps very much.

Here's a visualization of a much larger data set that illustrates what's actually happening with the buckets and the major steps.

https://www.youtube.com/watch?v=21jEd1FUiV8

Thanks, this one makes the stripe pattern much more apparent.
Looks more like anarchist flag sort...
I’ll take your word for it, AnarchismIsCool ;)
> Visualisation https://www.youtube.com/watch?v=k1XkZ5ANO64

OT: I quite liked the follow up video Youtube suggested -

Sorting algorithms to relax/study to - https://www.youtube.com/watch?v=vr5dCRHAgb0