Skip to main content

13 docs tagged with "pattern-matching"

View all tags

Aho-Corasick Algorithm

A complete guide to the Aho-Corasick algorithm for efficient multi-pattern string matching using a Trie and failure links, with implementations.

KMP Algorithm

A comprehensive guide to using the KMP Algorithm for efficient pattern matching.

Naive Search Algorithm

A basic string-search algorithm that checks every position in the text for a match with the pattern.

Rabin-Karp Algorithm

A comprehensive guide to using the Rabin-Karp Algorithm for efficient pattern matching.

Strings

The KMP algorithm is an efficient method for substring searching in a string.

Z Algorithm

A comprehensive guide to using the Z-Algorithm for efficient pattern matching.

Z-Algorithm

A linear time string matching algorithm that finds all occurrences of a pattern in a text.