Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 days agoInfallible Codeimagemessage-square161fedilinkarrow-up1484arrow-down126
arrow-up1458arrow-down1imageInfallible CodeDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 days agomessage-square161fedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up6·4 days agoNot even else if? Damn, I guess we’re checking all the numbers every time then. This is what peak performance looks like
minus-squarelime!@feddit.nulinkfedilinkEnglisharrow-up7·4 days agoO(1) means worst and best case performance are the same.
Not even else if? Damn, I guess we’re checking all the numbers every time then. This is what peak performance looks like
O(1) means worst and best case performance are the same.