Mental Model
A trie stores words by shared prefixes in a tree, making prefix search fast. A hash map stores whole words as keys, so prefix search needs extra work.
Analogy: Imagine a phone book organized by first letters (trie) versus a pile of index cards sorted by full names (hash map). Finding all names starting with 'Jo' is easier in the phone book because you open the 'J' section and then 'O' subsection.
Trie:
root
↓
j -> o -> h -> n -> null
↓
e -> null
Hash Map:
{ "john" : value, "joe" : value, "jane" : value }