Dynamic Programming
Dynamic
Programming is
similar to Divide &
Conquer
Both are
algorithm design
methods
Both solve
problems by
combining
solutions to
subproblems
Dynamic Programming is different
from Divide & Conquer
Dynamic Programming solves
optimization problems
Goal is to find the best of many
possible answers
Dynamic Programming is applied
when subproblems are not
independent
Not independent” means the same
subproblem can show up many times
Each subproblem is computed just
once, then the answer is saved
CS409 - Spring 2000
1