alphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 7 months agoO of what nowsh.itjust.worksexternal-linkmessage-square18fedilinkarrow-up1230
arrow-up1230external-linkO of what nowsh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@programming.devEnglish · 7 months agomessage-square18fedilink
minus-squareTiefling IRLlinkfedilinkarrow-up2·edit-27 months agoMost of the time O(n^2) is optimized to O(n log n). You’ll get some sort of award if you can figure out a sorting function that runs in O(n).
Most of the time O(n^2) is optimized to O(n log n). You’ll get some sort of award if you can figure out a sorting function that runs in O(n).