What different sorting algorithms sound like

Sep 1, 2010

Last month we saw sorting algorithms visualized in rainbow technicolor. Now, by Rudy Andrut, here they are auralized.

This particular audibilization is just one of many ways to generate sound from running sorting algorithms. Here on every comparison of two numbers (elements) I play (mixing) sin waves with frequencies modulated by values of these numbers. There are quite a few parameters that may drastically change resulting sound – I just chose parameteres that imo felt best.

It sounds like someone is playing on old Atari game. Warning: may cause seizures. Watch it in action in the video below.

[via]

Favorites

Think Like a Statistician – Without the Math

I call myself a statistician, because, well, I’m a statistics graduate student. However, the most important things I’ve learned are less formal, but have proven extremely useful when working/playing with data.

A Day in the Life of Americans

I wanted to see how daily patterns emerge at the individual level and how a person’s entire day plays out. So I simulated 1,000 of them.

This is an American Workday, By Occupation

I simulated a day for employed Americans to see when and where they work.

Interactive: When Do Americans Leave For Work?

We don’t all start our work days at the same time, despite what morning rush hour might have you think.