public marks

PUBLIC MARKS with tags c & algorithme

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 c

.net +   3d +   algorithms +   basic +   book +   books +   c%23 +   c++ +   code +   coding +   compiler +   computers +   cpp +   delphi +   development +   documentation +   ebook +   ebooks +   free +   java +   javascript +   language +   languages +   opensource +   perl +   php +   programacion +   programming +   python +   reference +   ruby +   software +   sourcecode +   sql +   tech +   tutorials +  

Active users

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

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