Challenge: Word Formation From a Dictionary Using Trie
Try to solve the Word Formation From a Dictionary Using Trie problem.
We'll cover the following
Statement
Given a dictionary, find whether a given word can be formed by combining two words from the dictionary.
Constraints:
-
dictionary
-
dictionary[i]
-
word
word
andwords[i]
consist of lowercase English letters
Examples
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.