JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoReturns a sorted list in O(1) timeprogramming.devimagemessage-square27fedilinkarrow-up1286
arrow-up1286imageReturns 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.