Naive Algorithm

Knuth-Morris-Pratt - 1

Knuth-Morris-Pratt - 2

Boyer-Moore - 1

Boyer-Moore - 2

Simplified Boyer-Moore

Boyer-Moore-Horspool

Shift-Or - 1

Preprocessing:

Searching:

Shift-Or - 2

Advantages:

Karp-Rabin

Summary