JPDev@programming.dev to Programmer Humor@programming.dev · 10 months agoReturns a sorted list in O(1) timeprogramming.devimagemessage-square21fedilinkarrow-up1284arrow-down114
arrow-up1270arrow-down1imageReturns a sorted list in O(1) timeprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square21fedilink
minus-squareinfinitepcg@lemmy.worldlinkfedilinkarrow-up4·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.