Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agoInfallible Codelemmy.mlimagemessage-square148fedilinkarrow-up1436
arrow-up1436imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square148fedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up5·15 hours 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-up6·13 hours 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.