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