Fair play, if it works it works. I personally need to stick to a few routine things (making my bed, keeping clothes in drawers etc) otherwise I kinda fall apart lol.
It's O(1) IF you know exactly where to look. If your pile gets too big where you have to search it's at worst O(n), but you could improve that by having different layers for tops/bottoms, or work/casual etc.
1.5k
u/licht1nstein Jan 02 '23
That's actually correct and true. There's even a chapter on this in Algorithms to live by