Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 17 days agoInfallible Codelemmy.mlexternal-linkmessage-square164fedilinkarrow-up1489arrow-down126
arrow-up1463arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 17 days agomessage-square164fedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up6·16 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·16 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.