Bucket Sort Madness

Sorting Socks in an Unhinged Frenzy

Join us for the most unpredictable, the most illogical, the most utterly MAD sorting algorithm of all time: Bucket Sort!

Step 1: Fill the Bucket

Start by piling all your socks into a single, wobbly bucket. The more socks, the better!

What happens when the bucket overflows? →

Step 2: Sort by Color (or not)

Now, grab a sock from the bucket and try to sort it by color. But not too hard, because, you know, it's just a sock. Or is it?

What happens when you get a rainbow sock? →

Step 3: Sort by Size (or not)

Next, try to sort the socks by size, but only if you can fit them in your hand. Otherwise, just toss them back in the bucket.

The Great Sock Size Debacle