2 ms·
Merge-sort with Transylvanian-saxon folk dance (2011) [video]
- whynotkeithberg 5y agoIs anyone that's not a monolingual turd such as myself able to translate what's being said?
- john_miller 5y agoTeile und herrsche. Divide and conquer.
- rsiqueira 5y agoPerformance analysis: sort of 10 elements in 256 seconds (4:16 min.).
- DC-3 5y agoO(nlogn), but with very large constants :-)
- ravi-delia 5y agoNot to mention linear time shifts
- belter 5y agoHeap-Sort https://youtu.be/Xw2D9aJRBY4 https://youtu.be/Xw2D9aJRBY4 Binary Search https://youtu.be/iP897Z5Nerk https://youtu.be/iP897Z5Nerk Quick-Sort https://youtu.be/ywWBy6J5gz8 https://youtu.be/ywWBy6J5gz8 Bubble-Sort https://youtu.be/lyZQPjUT5B4 https://youtu.be/lyZQPjUT5B4 I will bring my dancing shoes to the next FAANG interview.
- utopcell 5y agoIf anyone is wondering why QuickSort's video is longer than BubbleSort's, notice that "swaps" in QSort are done in linear time (i.e the dancers are walking to their swapped positions) instead of constant time.
- abledon 5y agoI'm a highly visual person and holy... the quicksort one really helps in remembering whats going on. I also like how the are dancing out the 'sort in place' version
- throw0101a 5y agoAlways interesting to see the 'crossed seven', * https://en.wikipedia.org/wiki/Arabic_numeral_variations#Other_variations https://en.wikipedia.org/wiki/Arabic_numeral_variations#Othe... * https://en.wikipedia.org/wiki/7#Evolution_of_the_glyph https://en.wikipedia.org/wiki/7#Evolution_of_the_glyph There doesn't seem to be a Unicode character for it, so a stroke overlay has to be used: > The Ƶ/ƶ is a separate letter in Unicode. There’s also a combining stroke overlay, 7̵ or 7̶, which in some fonts might display the way you want. * https://tex.stackexchange.com/questions/34500/ https://tex.stackexchange.com/questions/34500/
- dspillett 5y agoPointless nit-pickery: other than to cutely divide genders at the start and pair then up at the end there is no need for the initial split to divide between odd & even numbers. Just in case anyone is assuming an initialisation requirement/process that doesn't actually exist.