Mental Model
A trie stores words by sharing common prefixes, making it easy to check if a word exists by following letters step-by-step.
Analogy: Imagine a tree of roads where each road sign is a letter. To find a word, you follow the signs letter by letter until you reach the end of the word.
root ↓ a -> b -> c (end) ↓ d (end) Each arrow -> shows the next letter link. 'end' marks a complete word.