Mental Model
A trie node holds links to child nodes for each letter and a flag to mark if a word ends here.
Analogy: Imagine a tree where each branch splits into 26 smaller branches for each letter, and a flag on a branch tells if a word stops there.
root ↓ [ ] -> [ ] -> [ ] -> ... -> [ ] Each [ ] is a child node pointer for a letter (a-z) Each node has a flag: is_word_end (true/false)
