Mental Model
A trie stores words by sharing common beginnings, making it fast to find all words starting with a prefix. Hash maps can't do this efficiently because they treat each word separately.
Analogy: Imagine a tree of roads where each letter is a turn. If many words start the same way, they share the same path. A hash map is like separate houses with no shared roads, so finding all neighbors with the same street start is slow.
root
↓
a -> p -> p -> l -> e
↓
r -> t
Each arrow is a letter link, sharing common paths for words like 'apple' and 'apart'.