Dynamic Programming

San Skulrattanakulchai

October 16, 2019

Topics

Recurrences

The problem

Bottom-up dynamic programming

Ideas of bottom-up dynamic programming

Memoization

Ideas of memoization

Memoization VS bottom-up DP

Memoization Bottom-up DP
Implementation of recurrence top-down bottom-up
Initialization of table required not required
# table entries computed partial complete
Space-saving improvement not possible possible