Question: What is the primary advantage of using dynamic programming over naive recursive solutions?
Options:
Correct Answer: It avoids redundant calculations
Solution:
The primary advantage of using dynamic programming is that it avoids redundant calculations by storing the results of subproblems.