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!