pokerfan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:04 AM
Original message |
Sorting algorithm demonstrated in Hungarian folk dance |
|
Edited on Thu Apr-14-11 11:27 AM by pokerfan
Bubble-sort with Hungarian ("Csángó") folk dance: http://www.youtube.com/watch?v=lyZQPjUT5B4 People still use bubble sort?
|
wtmusic
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:07 AM
Response to Original message |
1. What's a better algorithm? nt |
phantom power
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:10 AM
Response to Reply #1 |
2. O((n)log(n)) sort is best -- bubble is O(n^2) |
TheMadMonk
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:20 AM
Response to Reply #2 |
wtmusic
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:30 AM
Response to Reply #6 |
7. Interesting...but the dancers would have to have two stages. nt |
TheMadMonk
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:16 AM
Response to Reply #1 |
tabatha
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:13 AM
Response to Original message |
3. If you look to the side videos |
|
it will be seen that they have danced other sorts as well: Shell-sort with Hungarian (Székely) folk dance http://www.youtube.com/watch?v=CmPA7zE8mx0Select-sort with Gypsy folk dance http://www.youtube.com/watch?v=Ns4TPTC8whwetc. Pretty cool !!
|
eShirl
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:16 AM
Response to Original message |
phantom power
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:49 AM
Response to Original message |
8. awesome - they've also done shell sort, selection sort and insertion sort (q-sort coming) |
pokerfan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:54 AM
Response to Reply #8 |
10. You know, I would have paid more attention in Algorithms |
phantom power
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:55 AM
Response to Reply #10 |
11. no doubt -- talk about tactile memory :-) |
phantom power
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:53 AM
Response to Original message |
9. With enough dancers, they could attempt an implementation of Searles' Chinese Room |
pokerfan
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 11:59 AM
Response to Reply #9 |
|
1. Check to see if the list is in order. 2. If the list is not in order, pick two items at random and swap them 3. Repeat.
:rofl:
|
phantom power
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 12:01 PM
Response to Reply #12 |
13. Damn, that would take some stamina |
hootinholler
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 02:19 PM
Response to Original message |
14. Sure people still use bubble sort! |
|
It's actually faster than the setup for some of the more exotic sorts with small numbers of things or data that is almost in sort order.
-Hoot
|
loudsue
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Apr-14-11 02:26 PM
Response to Original message |
|
You guys are WAY smarter than me!
|
mzteris
(1000+ posts)
Send PM |
Profile |
Ignore
|
Fri Apr-15-11 06:36 PM
Response to Original message |
16. so are these dances that existed |
|
in Hungarian folk lore that just happen to correspond with the algorithm?
Or were the dances "created" to demonstrate the algorithm?
|
DU
AdBot (1000+ posts) |
Sun Oct 12th 2025, 01:44 AM
Response to Original message |