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 of roads where each road sign is a letter. To find all places starting with 'ca', you follow the roads for 'c' then 'a' and see all branches from there.
root | c | a | t (end) | r | e (end) Each node points to next letters forming words like 'cat' and 'care'.
