Back to all patterns

Trie with DFS

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the Trie with DFS pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.

Medium (1)

Design Add And Search Words Data Structure

Design data structure supporting add and search with '.' wildcard.

Key Signals:

Trie for storageDFS for wildcardExplore all branches on '.'