Dynamic Programming
Last updated
Was this helpful?
Last updated
Was this helpful?
Majority of the Dynamic Programming problems can be categorized into two types:
1. Optimization problems. 2. Combinatorial problems.
The optimization problems expect you to select a feasible solution, so that the value of the required function is minimized or maximized.
Combinatorial problems expect you to figure out the number of ways to do something, or the probability of some event happening.