A subproblem of a problem is the same problem on a smaller input, whose solution helps build the solution of the whole. Dynamic programming solves a problem whose subproblems overlap by solving each subproblem once, recording its solution, and building larger solutions from the recorded ones.
Computer Science · Glossary
What is Subproblem, dynamic programming?
Also known as: subproblem · dynamic programming