Back to Trie

Trie practice problems

A focused problem list tied to the real-world applications on this topic. Open any problem directly on its platform.

4 problems List view Mobile optimized

Why this page exists

The main topic page explains where the idea is used in production. This child page is only for practice.

Trie practice

4 items
1

Implement Trie (Prefix Tree)

The baseline insert and search implementation problem.

LeetCode
2

Design Add and Search Words Data Structure

Trie design extended with wildcard lookup.

LeetCode
3

Word Search II

Backtracking plus trie pruning to scale dictionary matching.

LeetCode
4

Replace Words

A compact trie use case for prefix replacement.

LeetCode