Why does adding the decorator @lru_cache(from functools) break this function?
Why does adding the decorator @lru_cache(from functools) break this function? Question: The function is a part of the solution to the following problem: "Find all valid combinations of k numbers that sum up to n such that the following conditions are true: Only numbers 1 through 9 are used. Each number is used at most …