cm0002@lemmy.world to Programmer Humor@programming.dev · 7 months agotimeoutSortlemmy.mlimagemessage-square35fedilinkarrow-up1484arrow-down14
arrow-up1480arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 7 months agomessage-square35fedilink
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up31·7 months agoIt’s kind of linear, in the largest element of the array. Just not in the length of the array.
minus-squarenot_IO@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4arrow-down1·7 months agoit’s in constant time then
It’s kind of linear, in the largest element of the array. Just not in the length of the array.
it’s in constant time then