Next: About this document
Up: DYNAMIC PROGRAMMING REQUIREMENTS
Previous: Memoize
- Compute table bottom-up instead of starting at (m,n), start at
(1,1)
- Demonstrate algorithm
- time
- space
- Initialize top row & left column to 0
- Produce from top row, left to right, x[i]=y[j]
fill diagonal neighbor+1 & chaw . slre fill max of the other
neighbors.
Sushil Prasad
Thu May 13 13:06:05 EDT 1999