cm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agotimeoutSortlemmy.mlimagemessage-square35fedilinkarrow-up1452arrow-down15cross-posted to: [email protected]
arrow-up1447arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 8 months agomessage-square35fedilinkcross-posted to: [email protected]
minus-squareYTG123@sopuli.xyzlinkfedilinkarrow-up28·8 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-up3arrow-down1·8 months agoit’s in constant time then
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