cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agotimeoutSortimagemessage-square36linkfedilinkarrow-up1481arrow-down13cross-posted to: programmerhumor@lemmy.ml
arrow-up1478arrow-down1imagetimeoutSortcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square36linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up31·2 months agoIt’s kind of linear, in the largest element of the array. Just not in the length of the array.
minus-squareIO 😇@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4arrow-down1·2 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