JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoReturns a sorted list in O(1) timeprogramming.devimagemessage-square27fedilinkarrow-up1294arrow-down114
arrow-up1280arrow-down1imageReturns a sorted list in O(1) timeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square27fedilink
minus-squareinfinitepcg@lemmy.worldlinkfedilinkarrow-up5·10 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.