public marks

PUBLIC MARKS with tags algorithme & c

November 2006

September 2006

Knuth-Morris-Pratt Algorithm

by parmentierf & 1 other
The problem: given a (short) pattern and a (long) text, both strings, determine whether the pattern appears somewhere in the text. Last time we saw how to do this with finite automata. This time we'll go through the Knuth-Morris-Pratt (KMP) algorithm, which can be thought of as an efficient way to build these automata. I also have some working C source code which might help you understand the algorithm better.

PUBLIC TAGS related to tag algorithme

blog +   étudiant +   programmation +   université +   web 2.0 +   website +  

Active users

claire_
last mark : 30/11/2006 10:01

parmentierf
last mark : 15/09/2006 06:54