SA-MP Forums Archive
15 Sorting algorithms in 6 minutes (+ sound) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: 15 Sorting algorithms in 6 minutes (+ sound) (/showthread.php?tid=457692)



15 Sorting algorithms in 6 minutes (+ sound) - Sinner - 12.08.2013

I thought this was really interesting since sometimes it's hard to understand a sorting algorithm just by looking at the code.

[ame]http://www.youtube.com/watch?v=kPRA0W1kECg[/ame]


Re: 15 Sorting algorithms in 6 minutes (+ sound) - thefatshizms - 12.08.2013

Hah, that's awesome!


Re: 15 Sorting algorithms in 6 minutes (+ sound) - Hiddos - 12.08.2013

dat sexy bogo sort


Re: 15 Sorting algorithms in 6 minutes (+ sound) - IstuntmanI - 12.08.2013

Wow, that's awesome.


Re: 15 Sorting algorithms in 6 minutes (+ sound) - Bakr - 12.08.2013

Hell of a soundtrack.


Re: 15 Sorting algorithms in 6 minutes (+ sound) - playbox12 - 13.08.2013

Funny how suddenly some of the names make sense. (like bubble sort and cocktail shaker).


Re: 15 Sorting algorithms in 6 minutes (+ sound) - DaRealShazz - 13.08.2013

I didn't know they used sorting algorithms for dubstep.

Jokes aside, this is really interesting. It lets you visualize how different sorting algorithms work and how they are so fast.


Re: 15 Sorting algorithms in 6 minutes (+ sound) - Niko_boy - 13.08.2013

nice finding , thx for sharing


Re: 15 Sorting algorithms in 6 minutes (+ sound) - Elorreli - 13.08.2013

So basicly bogosort just randomly shuffles untill It's sorted?


Re: 15 Sorting algorithms in 6 minutes (+ sound) - Sinner - 13.08.2013

Quote:
Originally Posted by Elorreli
Посмотреть сообщение
So basicly bogosort just randomly shuffles untill It's sorted?
Yeah, and it's really not designed to ever succeed. Basically it's like throwing a deck of cards in the air and see if they land in order -- if they don't do it again until they do.