JPDev@programming.dev to Programmer Humor@programming.dev · 2 年前Returns a sorted list in O(1) timeprogramming.devimagemessage-square27linkfedilinkarrow-up1294arrow-down114
arrow-up1280arrow-down1imageReturns a sorted list in O(1) timeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 2 年前message-square27linkfedilink
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkarrow-up16·2 年前asymptotically this is 100% correct!
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up5·2 年前What would be the accuracy on something like a 64bit unsigned integer?
minus-squareitslilith@lemmy.blahaj.zonelinkfedilinkarrow-up17·2 年前WolframAlpha estimates PrimePi[2^64-1] to be about 4.15829E17, so about 97.7%
asymptotically this is 100% correct!
What would be the accuracy on something like a 64bit unsigned integer?
WolframAlpha estimates PrimePi[2^64-1] to be about 4.15829E17, so about 97.7%