Groups
Category
AhoโCorasick is a trie with failure links that finds all occurrences of many patterns in a single pass over the text.
The LCP (Longest Common Prefix) array, built alongside a suffix array, unlocks fast solutions to problems like longest repeated substring, number of distinct substrings, and longest common substring.