JPDev@programming.dev to Programmer Humor@programming.dev · 9 months agoReturns a sorted list in O(1) timeprogramming.devimagemessage-square27fedilinkarrow-up1285arrow-down114
arrow-up1271arrow-down1imageReturns a sorted list in O(1) timeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square27fedilink
minus-squareinfinitepcg@lemmy.worldlinkfedilinkarrow-up5·9 months agoIt works as long as you don’t call list() within that function.
It works as long as you don’t call
list()
within that function.