Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agoInfallible Codelemmy.mlimagemessage-square159linkfedilinkarrow-up1471arrow-down125
arrow-up1446arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square159linkfedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up6·3 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·3 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.