Question: What is dynamic programming primarily used for?
Options:
Correct Answer: To solve problems with overlapping subproblems
Solution:
Dynamic programming is used to solve problems that can be broken down into overlapping subproblems, allowing for the reuse of previously computed results.