Mental Model
A Trie stores words by sharing common prefixes so we can quickly find all words starting with a given prefix.
Analogy: Imagine a tree where each branch is a letter, and paths from the root to leaves form words. To autocomplete, you follow the prefix branches and then list all words below.
root ↓ t -> r -> i -> e -> [end] ↓ r -> e -> e -> [end] ↓ y -> [end]
