Tries and String Matching
Prefix trees and search algorithms used in autocomplete, substring search, and pattern parsing.
1.0 Trie Basics
- Insert/search/delete words
- Prefix search
- Auto-suggestion systems
2.0 Compressed & Suffix Tries
- Radix trie
- Suffix trie
- Suffix tree intro
3.0 String Matching Algorithms
- KMP (prefix table)
- Rabin-Karp (hash rolling)
- Z-algorithm
4.0 Word Dictionary & Variants
- Word search in board (DFS + Trie)
- Word break I/II
- Replace words in sentence
5.0 Regex and Wildcard Parsing
- Regex match with
.and* - Wildcard
?and*patterns - Backtracking + memoization combo