I guess that's the reason most people don't do it: they'd rather waste O(1) space than waste mental effort on trying to save it.
I guess that's the reason most people don't do it: they'd rather waste O(1) space than waste mental effort on trying to save it.