do a "brute force" then a Trie graph
The Trie Data Structure (Prefix Tree)
Get updates delivered right to your inbox!
Please follow the link we've just sent you to activate the subscription.