Radix Sort (LSD)

preview_player
Показать описание
Visualization and "audibilization" of the LSD Radix Sort algorithm.
Sorts a random shuffle of the integers [1,100] using least significant digit radix sort with 2-bit radixes (4 buckets). The algorithm sorts out-of-place: it copies elements to a shadow array during the counting sweep. As radix sort is not comparison-based, in this audibilization each item access yields a sound.
Рекомендации по теме
Комментарии
Автор

This is favorite dealer's music! The Dealer love this song!

Freez.T
Автор

Dealer, when my audiosystems in his possession.

markeevch
Автор

"Yo pass me the aux cord"
"You better not play trash"
Me: Radix LSD Sort Base 10

longfork
Автор

Man, this sharp-toothed meatball sure knows his stuff.

erikdahl
Автор

Never pass the Aux to the Buckshot Dealer bruh.

TheGlowingBeansGuy
Автор

Of course the Dealer is into this kind of thing...

R_ylee
Автор

It's impressive you can write a sorting algorithm without ever needing to do a single comparison operation.

KingThrillgore
Автор

I've listened to all of them and this is by far my favourite. Those last few seconds :o

Borislovefei
Автор

We making it out of ̴̭͆͝Ó̷̪̘̣̏͛R̵̾̕ͅ with this one 🔥🔥🔥🔥🔥🔥🔥🔥🔥

erni_fx
Автор

Is this what being on LSD sounds like?

moth.monster
Автор

apperantly this is dealer's favorite song. Good to know

chotic
Автор

This is canonically dealers' fav song now

unkinown
Автор

Little known fact, this sound is playing constantly in my head.

griff
Автор

Contacting mothership; Uploading data...

urbanstahel
Автор

Fascinating seeing the 2-bit system come into play:

Notice after the first pass, at 0:08, each ordered row is divided into groups of 4 integers (2 bits), which is hard to distinguish.

After the second pass, at 0:15, you can start distinguishing ordered rows divided into groups of 16 integers (4 bits).

After the third pass, at 0:22, you can clearly see the lower ordered row of 64 integers (6 bits), the higher row being the remaining 36.

marquizzo
Автор

yeah, i can uderstand why dealer likes it

hlebushek
Автор

Fun trivia: IBM built a machine that could physically sort punch cards, and it worked pretty the same way this algorithm does. The holes punched in the card would correspond to its number, and the machine would read the punched hole and depending on which number it stood for, would drop the card into one of several "buckets". Doing this over and over, it could sort up to 450 cards per minute, which was an amazing accomplishment for 1925.

xygomorphic
Автор

I love how these audible algorythms sound like the robots from 60's sci-fi movies.

Jadinandrews
Автор

Really amazing sort. It's my favorite!

The-pfzy
Автор

I love how this one sounds with bigger arrays :P

laharlk