Live data from Hacker News

What different sorting algorithms sound like

youtube.com

11–20 of 40 posts

Re: What different sorting algorithms sound like

#16
Disclaimer: sorting algorithms can sound like just about anything, depending which parameters you map to which sounds.

This is just a simple example of data sonification, albeit with some nice visualisation too, and a subject matter which appeals to the computer scientists in the room.

Re: What different sorting algorithms sound like

#18

This makes me want to sort something. The loose change strewn all over my desk. The contents of my fridge. The words on this page. Anything.

Anything. The The The This all change contents desk. fridge. loose makes me my my of on over page. something. sort strewn this to want words

Re: What different sorting algorithms sound like

#19
post #8

That was really cool. Is the speed indicative of the speed of the sort?

I would say it's likely. There are all sorts (pun intended) of optimizations you can do for each algorithm, but at the textbook level, I could say they seemed typical as far as speed expectancy goes. My rough estimates for the times were (in seconds): insert: ~10, bubble: ~27, selection: ~18, merge: ~17, and gnome: ~19. I have only written inserts, bubbles, and selections; with bubble being slowest and insert being the fastest, my limited experience agrees with the video. Note: the merge algorithm appeared to have sorted a different data set.
Post reply on HN