Session Overview
This lecture introduces dynamic programming, and discusses the notions of optimal substructure and overlapping subproblems. Image courtesy of aaroninthe360 on Flickr. |
Session Activities
Lecture Videos
About this Video
Topics covered: Dynamic programming, optimal path, overlapping subproblems, weighted edges, specifications, restrictions, efficiency, pseudo-polynomials.
Resources
Check Yourself
What does it mean for a problem to have optimal substructure?
› View/hide answer
A globally optimal solution can be found by combining solutions to local subproblems.
What does it mean for a problem to have overlapping subproblems?
› View/hide answer
An optimal solution involves solving the same problem multiple times.