Logo
Why did the programmer quit his job? Because he didn't get arrays.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

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

Map Memes

Posts tagged with Map

Developer Said The Map Had O(0) Complexity And A Simple If-Else Would Have O(2) Complexity...

Algorithms Programming Debugging
2 days ago 56.1K views 0 shares
Developer Said The Map Had O(0) Complexity And A Simple If-Else Would Have O(2) Complexity...
Oh, the mythical O(0) complexity! This is like claiming your code runs before you even write it. And O(2)? I guess that's twice as fast as O(1) and half as fast as O(4)? 🤦‍♂️ What we're seeing here is a beautiful map lookup with constant time complexity - that's O(1) for those keeping score at home. Meanwhile, our "complexity expert" is probably the same person who thinks adding more if-statements makes the code run faster because "the computer has more options to choose from." Next week: the same developer discovers the revolutionary O(-1) algorithm that finishes before it starts!

Spotlight

ScienceHumor.io

Introducing ScienceHumor.io - where Newton's laws meet comedy! A collection of scientifically proven funny memes that react faster than sodium in water. Visit →

Ad The Time Traveler Router

So fast your packets arrive before you send them
TP-Link WiFi 7 Router | ProgrammerHumor.io
Buy this and help us afford the premium Git plan where merge conflicts solve themselves. 🔀