Skip to main content

7 docs tagged with "string-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.

Aho-Corasick Algorithm

Learn about the Aho-Corasick string matching algorithm, Trie construction, failure links, and multi-pattern searches.

Strings

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

Suffix Tree Algorithm

Construct and search a Suffix Tree efficiently to represent all suffixes of a string for substring searching and pattern matching.