cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agotimeoutSortimagemessage-square35fedilinkarrow-up1480arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1476arrow-down1imagetimeoutSortcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square35fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up95·7 days agofinally, sorting in linear time /s
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up31·7 days 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·6 days agoit’s in constant time then
finally, sorting in linear time /s
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
linear in size