Concept Flow - Prefix Search Using Trie
Start at root node
For each character in prefix
Check if child node for character exists?
No→Prefix not found
Yes
Move to child node
Repeat for next character
All prefix chars found
Collect all words from this node
Return list of words with prefix
Start from the root and follow nodes for each prefix character. If all characters exist, collect all words below that node.
