Sorting Algorithms As Dances
mikejuk writes "You may well have seen many simulations of sorting algorithms that aim to show how the algorithm works. However I guarantee that you have never seen anything quite in the same league as the videos made by Sapientia University — they are simply crazy but in the nicest possible way. They folk dance their way though bubble sort, shell sort, insertion sort and selection sort. Very, very weird but you find you can't but help checking that they are doing it right. Now anyone want to try quicksort?"
...but it was indistinguishable from a bunch of drunk guys stumbling around in a crowded SF Muni station.
Check out my sci-fi/humor trilogy at PatriotsBooks.
I'm disappointed that they don't have a video demonstrating Stooge Sort.
I don't care if it's 90,000 hectares. That lake was not my doing.
I'd love to see parallel versions.. Much more action that way. Confusing? I think it could be beautiful.
Yes, but they were using inefficient algorithms. A quicksort, for example, would be much faster, and could also be done in parallel.
That's why we use computers for algorithms. Neat idea though.
See, that's what you get with interpretive dance.
A compiled dance would be much more efficient.
John
I guarantee that you have never seen anything quite in the same league as the videos made by Sapientia University
Without diminishing the creativity of these videos, I recommend that if you enjoyed these you might do a Google search for "Dance Your PhD".
Selection of a DNA aptamer for homocysteine using systematic evolution of ligands by exponential enrichment
http://news.sciencemag.org/sciencenow/2010/10/and-the-dance-your-phd-winner-is.html
Nucleic acids never looked so good.
So really, even if you compile the dance, I think you'll find that the dynamic binding overhead will kill the running performance.
My intro-to-CS professor (20 years ago... my, how time flies) used to illustrate sorting algorithms by sorting the students in class by height. :)
Once someone participates in a sorting algorithm, they sure won't forget
Pfft, real programming languages have static polymorphism.
Yeah, there's never been any kind of line dance where the dancers split into two groups, do stuff, and than merge back into the larger group in some ordered fashion....
Can you be Even More Awesome?!