Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 6 months agoInfallible Codelemmy.mlexternal-linkmessage-square138fedilinkarrow-up1469arrow-down127
arrow-up1442arrow-down1external-linkInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 6 months agomessage-square138fedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up6·6 months 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·6 months 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.