An optimal solution to a problem (instance) contains optimal solutions to subproblem Optimal substructureIn computer science, a problem is said to have optimal substructure if an optimal solution can be constructed from optimal solutions of its subproblems. This property is used to determine the usefulness of greedy algorithms for a problem.https://en.wikipedia.org/wiki/Optimal_substructure