Question: What is the primary use of the \'dp\' array in dynamic programming?
Options:
Correct Answer: To store solutions to subproblems
Solution:
The \'dp\' array is used to store solutions to subproblems in dynamic programming.