Skip to content

bittu18/Dynamic-Programming

Repository files navigation

Dynamic-Programming✈✈

Those who cannot remember the past are condemed to repeat it Theory: Dynamic Programming is a method for solving a complex problem by breaking it down into a collection of simpler subproblems. solving each of those subproblems just once, and storing their solutions using a memory-based data structure (array, map,etc). Each of the subproblem solutions is indexed in some way, typically based on the values of its input parameters, so as to facilitate its lookup. So the next time the same subproblem occurs, instead of recomputing its solution, one simply looks up the previously computed solution, thereby saving computation time. This technique of storing solutions to subproblems instead of recomputing them is called memoization.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors