Concept Flow - Count Words with Given Prefix
Start with word list
Check each word
Does word start with prefix?
No→Skip word
Yes
Increment count
Repeat for all words
Return count
We check each word one by one to see if it starts with the prefix. If yes, we add to count. Finally, we return the total count.
