String Pattern Matching Algorithms
Naive algorithm
Morris-Pratt algorithm
Knuth-Morris-Pratt algorithm
Boyer-Moore algorithm
Boyer-Moore-Galil algorithm
Example 1
Example 2
text
pattern