𝕊𝕚𝕤𝕪𝕡𝕙𝕖𝕒𝕟@programming.dev to Programmer Humor@programming.dev · 1 year agocachelemmy.dbzer0.comimagemessage-square2fedilinkarrow-up118arrow-down10cross-posted to: adhd@lemmy.dbzer0.com
arrow-up118arrow-down1imagecachelemmy.dbzer0.com𝕊𝕚𝕤𝕪𝕡𝕙𝕖𝕒𝕟@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square2fedilinkcross-posted to: adhd@lemmy.dbzer0.com
minus-squareargv_minus_one@beehaw.orglinkfedilinkarrow-up2·edit-21 year agoFinding clothes on a chair isn’t constant-time. You have to search through the heap of clothes to find the item you want. It has the same time complexity as searching through the closet; it’s only fast because n is small.
Finding clothes on a chair isn’t constant-time. You have to search through the heap of clothes to find the item you want. It has the same time complexity as searching through the closet; it’s only fast because n is small.