Introduction to Dynamic programming
What is dynamic programming?
Dynamic programming is kind of careful brute force where you try all possibilities but carefully.
Before going into the definition, lets first take a problem, so that we can define the dynamic programming.
Why was it named this way?
Check out the history here.
Problem - Nth Fibonacci Number
Dynamic programming is a method for efficiently solving a broad range of search and optimization problems which exhibit the characteristics of overlappling subproblems and optimal substructure.
[Read More]