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