this post was submitted on 21 Mar 2026
838 points (98.1% liked)

Programmer Humor

30720 readers
2791 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] trougnouf@lemmy.world 27 points 1 week ago* (last edited 1 week ago) (5 children)

Wouldn't a pile of clothes have O(n) complexity? They'd still have to go through them one at a time unless the clothes have a really distinct color/shape and are in a somewhat tidy pile s.t. they can be pulled from anywhere.

[โ€“] searabbit@piefed.social 4 points 1 week ago

Idk about your pile, but mine is precariously balanced on top of a chair so it's O(1) until a literal tipping point when everything falls and then it's O(k*n) where k is the time it takes me to put away a piece of clothing in the closet/laundry (or start a new pile elsewhere).

load more comments (4 replies)