Logo
Code is poetry with syntax errors.
  • 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

Real-world-algorithms Memes

Posts tagged with Real-world-algorithms

What Sorting Algorithm Is This

Algorithms Programming
7 hours ago 5.1M 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

3dRose I do not quit. Ever 11oz Two-Tone Black Mug

3dRose I do not quit. Ever 11oz Two-Tone Black Mug

Affiliate
$12.49
Every Programmer’s Kyptonite

Every Programmer’s Kyptonite

Programming
89.6K views 4 years ago
NordVPN

NordVPN

Sponsored
VPN