COP 4531: Lecture 18

Learning objectives

After this class, you should be able to:

  1. Prove optimal substructure properties for the Longest Common Subsequence (LCS) problem, and for other similar problems.
  2. Give a recursive solution for the Longest Common Subsequence (LCS) problem, and for other similar problems.
  3. Give a dynamic programming solution for the Longest Common Subsequence (LCS) problem, and for other similar problems.

Reading assignment

  1. CLR: Section 15.4.
  2. CLR: Chapter 16, page 371.

Exercises and review questions


Last modified: 21 Mar 2007