cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agotimeoutSortlemmy.mlimagemessage-square36fedilinkarrow-up1480arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1476arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square36fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up31·1 month agoIt’s kind of linear, in the largest element of the array. Just not in the length of the array.
minus-squareIO 😇@lemmy.blahaj.zonecakelinkfedilinkEnglisharrow-up4arrow-down1·1 month 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