Concept Flow - Overlapping Subproblems and Optimal Substructure
Problem to solve
Break into subproblems
Check if subproblem solved before?
Yes No
Use stored
Combine results
Final solution
The problem is broken into smaller parts. If a part was solved before, reuse it. Otherwise, solve it and store the result. Combine all parts for the final answer.
