Back to Topics

Search & Compilers

Prefix search, lexers, and symbol tables in language tools

1 topics 4 problems 0 completed Read about Search & Compilers →
TRI

Trie

Prefix-aware search for autocomplete, routing, and dictionaries

4 problems

Implement Trie (Prefix Tree)

The baseline insert and search implementation problem.

LeetCode

Design Add and Search Words Data Structure

Trie design extended with wildcard lookup.

LeetCode

Word Search II

Backtracking plus trie pruning to scale dictionary matching.

LeetCode

Replace Words

A compact trie use case for prefix replacement.

LeetCode