logoalt Hacker News

semiregtoday at 2:39 AM1 replyview on HN

Kind of like the “uncooked spaghetti length” sorting algorithm: gravity. Hold them in your fist vertically, let them gently fall to a flat surface. Sorted.


Replies

BretonForearmtoday at 2:42 AM

Spaghetti length is made visible (quickly comparable), but it's still not sorted.

show 2 replies