Week 7 Discussion Forum

Dynamic programming

Dynamic programming

by Sadnam Saniat 192-15-2794 -
Number of replies: 0

Dynamic Programming is mainly an optimization over plain recursion. Wherever we see a recursive solution that has repeated calls for same inputs, we can optimize it using Dynamic Programming. The idea is to simply store the results of subproblems, so that we do not have to re-compute them when needed later.

51 words