Remember answers: lru_cache
Your task In the code box, write a recursive function ways(n) with @lru_cache(maxsize=None) above it: 1 when n is 0, 0 when n is below 0, and otherwise ways(n - 1) + ways(n - 2) + ways(n - 3). Then press Run my code.
Getting the editor ready
