Question: What is meant by optimal substructure? a) Subproblems are completely independent of each other and disjoint (don't overlap) b) Optimal solutions to a problem incorporate
What is meant by optimal substructure?
| a) Subproblems are completely independent of each other and disjoint (don't overlap) |
b) Optimal solutions to a problem incorporate optimal solutions to related subproblems, which we may solve independently
c) Given a solution to one subproblem, we automatically have an optimal solution to all other subproblems.
d) We must know the optimal solution to the overall problem before we know what is optimal for a subproblem.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
