Question: In dynamic programming, what is the purpose of memoization?
Options:
Correct Answer: To store intermediate results
Solution:
Memoization is used to store intermediate results of subproblems to avoid redundant calculations and improve efficiency.