Concept Flow - Prefix Search Using Trie
Start at root node
For each char in prefix
Check if char child exists?
No→Prefix not found
Yes
Move to child node
After last char
Collect all words from this node
Return list of words
Start from root, follow each prefix character down the trie nodes. If path exists, collect all words below that node.
