However, while it's true that your product is O(1) even in the worst case, when you look closer it's actually O(1) + O(1) even in the best case, as you have to open the Shitdrawer to even get the the most recently used item. Do you have any solution to this?
back
3 comments
O(1)+O(1) is just O(11). Not a big problem.
I would recommend not looking closer!
Shitfloor?
My kids already invented that. If you want theirs, come ask. Includes unlimited eye rolls and muttering.