Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 10 months agoInfallible Codelemmy.mlimagemessage-square151linkfedilinkarrow-up1479
arrow-up1479imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square151linkfedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up5·10 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·10 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.