AlgoViz

Trie (prefix tree)

medium 20 min

A trie (pronounced "try") is a tree that stores strings one character per level, so words with the same opening letters share the same path from the root.

Practice

3 problems with hidden tests. Python runs in your browser.

Loading problem…
Loading problem…
Loading problem…