cm0002@lemmy.world to Programmer Humor@programming.dev · 21 hours agotimeoutSortlemmy.mlimagemessage-square30fedilinkarrow-up1410arrow-down13
arrow-up1407arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 21 hours agomessage-square30fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up87·19 hours agofinally, sorting in linear time /s
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up28·15 hours agoIt’s kind of linear, in the largest element of the array. Just not in the length of the array.
finally, sorting in linear time /s
linear in size
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