What is Dynamic Programming and when do we use dynamic programming

When to use Dynamic Programmmig

What is Dyanamic Programming paradigm, when to use dp and how does dynamic programming paradigm differs from recursion and what are the necessary conditions where dynamic programming is applied. This video explains the two necessary conditions which needs to be fulfilled in order to use dynamic programming. These are repeating sub-problems and optimal substructure. If you find any difficulty or have any query then do COMMENT below.

You can read more about Dyanmic programming here or you can learn Dynamic Programming from here.

Write a comment