Tries
Prefix trees for dictionaries, wildcards, and multi-word grid search.
0 of 4 lessons complete · 73 min total
- Tries: Sharing PrefixesChildren maps, end-of-word flags, why tries beat hash sets for 'starts with' queries, and pruning grid search with a trie of all target words.Lesson · 15 minNot completed
- Type-Along TrieAutocomplete and wildcard search animated.Animation · 10 minNot completed
- Practice: Build & Search TriesImplementing the structure, wildcard DFS, and trie-pruned grid search.medium×2hard3 problems · 0 solvedPractice · 40 minNot completed
- Tries CheckpointNode structure, prefix vs whole-word queries, and when a trie beats hashing.Checkpoint · 8 minNot completed