Lecture 24

Learning objectives

After this class, you should be able to:

  1. Given a pattern and a text, show each step of the Knuth-Morris-Pratt algorithm for pattern matching.

Reading assignment

  1. CLR: Section 32.4.

Exercises and review questions


Last modified: 22 Nov 2006