Add a solution with better space cost to "Cached Calculations".