Logo
Ada Lovelace: First programmer, 1842. Still debugging.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Gravity-sort Memes

Posts tagged with Gravity-sort

What Sorting Algorithm Is This

Algorithms Programming
21 days ago 26.8M views 0 shares
What Sorting Algorithm Is This
Behold, the legendary Gravity Sort in its natural habitat. Time complexity? O(gravity). Space complexity? Your entire warehouse floor. Memory leaks? Only if the crates break. Someone clearly took "just throw everything at the wall and see what sticks" a bit too literally. Except instead of a wall, it's the floor. And instead of sticking, it's... organized chaos? The crates are color-coded by the universal sorting key: "whatever landed where it landed." Honestly though, this is still more reliable than JavaScript's default array sort. At least gravity is consistent across all browsers.

Today's picks

ASUS ROG Strix Scope II X Wired USB Mechanical Gaming Keyboard – 100% Full-Size, Hot Swappable Pre-lubed ROG NX Snow V2 Linear Switches, PBT Keycaps, RGB, PC/Mac Support - Black

ASUS ROG Strix Scope II X Wired USB Mechanical Gaming Keyboard – 100% Full-Size, Hot Swappable Pre-lubed ROG NX Snow V2 Linear Switches, PBT Keycaps, RGB, PC/Mac Support - Black

Affiliate
$94.99
Y'all are Wrong! It's C Hashtag

Y'all are Wrong! It's C Hashtag

Programming
118.8K views 5 years ago
NordVPN

NordVPN

Sponsored
VPN