Week 6 Discussion Forum

Dynamic Programming

Dynamic Programming

by Mahabub Alam Shuvo -
Number of replies: 0

Dynamic programming is used where we have problems, which can be divided into similar sub-problems, so that their results can be re-used. Mostly, these algorithms are used for optimization. It is mainly used where the solution of one sub-problem is needed repeatedly. The computed solutions are stored in a table, so that these don’t have to be re-computed. Hence, this technique is needed where overlapping sub-problem exists. In Dynamic Programming the problem is solved in following steps:
#recursive relation

79 words