cm0002@lemmy.world to Programmer Humor@programming.dev · 11 months agotimeoutSortlemmy.mlimagemessage-square35linkfedilinkarrow-up1489arrow-down14cross-posted to: [email protected]
arrow-up1485arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 11 months agomessage-square35linkfedilinkcross-posted to: [email protected]
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up97·11 months agofinally, sorting in linear time /s
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up31·11 months agoIt’s kind of linear, in the largest element of the array. Just not in the length of the array.
minus-squarenot_IO@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up4arrow-down1·11 months 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