Quantcast
Channel: Frank Sun » Design Pattern
Viewing all articles
Browse latest Browse all 13

Introduction to Dynamic Programming

$
0
0
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. I’ll try to illustrate these characteristics through some simple examples and end with an exercise. Happy coding! Contents Overlapping Subproblems Optimal Substructure The Knapsack Problem Everyday Dynamic Programming Overlapping Subproblems A problem Read More →

Viewing all articles
Browse latest Browse all 13

Trending Articles