Question: What is the optimal substructure property in dynamic programming?
Options:
Correct Answer: All of the above
Solution:
The optimal substructure property in dynamic programming means that the solution can be constructed from optimal solutions of its subproblems, and the problem can be divided into smaller subproblems.