Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Sorting algorithm demonstrated in Hungarian folk dance

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » Topic Forums » Science Donate to DU
 
pokerfan Donating Member (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?
Refresh | +9 Recommendations Printer Friendly | Permalink | Reply | Top
wtmusic Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 11:07 AM
Response to Original message
1. What's a better algorithm? nt
Printer Friendly | Permalink | Reply | Top
 
phantom power Donating Member (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)
Printer Friendly | Permalink | Reply | Top
 
TheMadMonk Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 11:20 AM
Response to Reply #2
6. try this one. O(N+n)
Printer Friendly | Permalink | Reply | Top
 
wtmusic Donating Member (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
Printer Friendly | Permalink | Reply | Top
 
TheMadMonk Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 11:16 AM
Response to Reply #1
5. Anything. /nt
Printer Friendly | Permalink | Reply | Top
 
tabatha Donating Member (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=CmPA7zE8mx0

Select-sort with Gypsy folk dance
http://www.youtube.com/watch?v=Ns4TPTC8whw

etc.

Pretty cool !!
Printer Friendly | Permalink | Reply | Top
 
eShirl Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 11:16 AM
Response to Original message
4. neat!
:thumbsup:
Printer Friendly | Permalink | Reply | Top
 
phantom power Donating Member (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)
:patriot:
Printer Friendly | Permalink | Reply | Top
 
pokerfan Donating Member (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
had there been dancing.
Printer Friendly | Permalink | Reply | Top
 
phantom power Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 11:55 AM
Response to Reply #10
11. no doubt -- talk about tactile memory :-)
Printer Friendly | Permalink | Reply | Top
 
phantom power Donating Member (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
:evilgrin:
Printer Friendly | Permalink | Reply | Top
 
pokerfan Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 11:59 AM
Response to Reply #9
12. or a Bozo sort
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:
Printer Friendly | Permalink | Reply | Top
 
phantom power Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 12:01 PM
Response to Reply #12
13. Damn, that would take some stamina
:rofl:
Printer Friendly | Permalink | Reply | Top
 
hootinholler Donating Member (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
Printer Friendly | Permalink | Reply | Top
 
loudsue Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-14-11 02:26 PM
Response to Original message
15. Huh?
You guys are WAY smarter than me!
Printer Friendly | Permalink | Reply | Top
 
mzteris Donating Member (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?
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Mon Jan 06th 2025, 03:57 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » Topic Forums » Science Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC