Knuth–Morris–Pratt algorithm: Difference between revisions

Content deleted Content added
Ryan Reich (talk | contribs)
Another one.
Ryan Reich (talk | contribs)
m Another one.
Line 164:
++i;
} else if (j > 0) {
j = T[j - 1];
} else {
T[i + 1] = 0;