Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
15 sorting algorithms in 6 minutes
#1
[video=youtube;kPRA0W1kECg]http://www.youtube.com/watch?v=kPRA0W1kECg[/video]

I did not create this. Full credit goes to the author.

More information: http://panthema.net/2013/sound-of-sorting/

Algorithms used in the video:
  • selection sort
  • insertion sort
  • quick sort
  • merge sort
  • heap sort
  • radix sort (LSD)
  • radix sort (MSD)
  • std:Confusedort (intro sort)
  • std:Confusedtable_sort (adaptive merge sort)
  • shell sort
  • bubble sort
  • cocktail shaker sort
  • gnome sort
  • bitonic sort
  • bogo sort

Also, radix sort (LSD) sounds like something from a creepy horror film.
Reply
#2
Bogo sort is obviously the best sort. That O(1) time, man, can't believe not many people use it.
Reply
#3
dat bogo sort
Reply
#4
bogo sort is basically miracle cubes
Reply
#5
beautiful
Reply
#6
dat bogo (finally something i can understand)
Reply
#7
A funny explanation of the bogo was in the Wikipedia article for it

Quote:Imagine you have a deck of cards, you check if its ordered and if it isn't you simply throw all the cards in the air and then check again until its ordered.

also: dat quantum bogosort:

Quote:Quantum Bogosort
An in-joke among some computer scientists is that quantum computing could be used to effectively implement a bogosort with a time complexity of O(n).[8] It uses true quantum randomness to randomly permute the list. The list is then inspected, and if it is not in order, the universe is destroyed. By the many-worlds interpretation of quantum physics, the quantum randomization spawns 2^N (where N is the number of random bits) universes and one of these will be such that this single shuffle had produced the list in sorted order.
Reply
#8
Bubble Sort and Cocktail Shaker Sort both sounded like slowed down Pac-Man sound effects to me.

Also laughed hard at that bogo sort.
Reply
#9
did anyone else thing gnome sounded like a bunch of chihuahua barking?

And that bogo, idk y, i had a sense of impending doom as that thing continued :C
Reply
#10
FenixR Wrote:A funny explanation of the bogo was in the Wikipedia article for it



also: dat quantum bogosort:

Crap, I confused quantum bogo and regular bogo. I didn't watch the video Tongue.

Back to college for me.
Reply
#11
The bogo sort mad me smile. This is definitely a good day now.
Reply
#12
I have no idea what i'm watching but it feels good.
Reply
#13
This video reminds me of my college days, although I have no idea what half of those sorts are. Which one is the fastest at sorting large data do you think?
Reply
#14
IImaplers Wrote:This video reminds me of my college days, although I have no idea what half of those sorts are. Which one is the fastest at sorting large data do you think?

Probably one that is O(n) rather than the O(n log n) shown in most of these. Most use Timsort of Insertion Sort + Introsort
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)