cm0002@lemmy.world to Programmer Humor@programming.dev · 5日前timeoutSortlemmy.mlimagemessage-square35fedilinkarrow-up1454arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1450arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 5日前message-square35fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up90·5日前finally, sorting in linear time /s
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up28·4日前It’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·4日前it’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