cm0002@lemmy.world to Programmer Humor@programming.dev · 26 days agotimeoutSortlemmy.mlimagemessage-square36fedilinkarrow-up1449arrow-down15
arrow-up1444arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 26 days agomessage-square36fedilink
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up92·25 days agofinally, sorting in linear time /s
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up28·25 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-up3arrow-down1·25 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