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).
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).