Solution Review: Word Formation From a Dictionary Using Trie
Let’s solve the Word Formation From a Dictionary Using Trie problem.
Statement
Given a dictionary, find whether a given word can be formed by combining two words from the dictionary.
Constraints:
-
dictionary
-
dictionary[i]