Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 个月前Infallible Codelemmy.mlimagemessage-square161linkfedilinkarrow-up1492arrow-down127
arrow-up1465arrow-down1imageInfallible Codelemmy.mlDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 5 个月前message-square161linkfedilink
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up6·5 个月前Not 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·5 个月前O(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.