Introduction to Problem Solving Using Trie Traversal

Get an introduction to trie traversal using depth-first search and breadth-first search.

Traversals

Trie traversal refers to visiting every trie node exactly once in a certain order. Depending upon the problem we're solving, we might have to modify the order in which the trie nodes are visited. The table below defines some widely used terms in trie traversals.

Get hands-on with 1400+ tech skills courses.