Challenge 4: Word Formation From a Vector Using Trie
This is a more advanced problem regarding tries. It shows you the efficiency of this data structure in word matching.
Problem statement
You have to implement the isFormationPossible()
function, which will find whether or not a given word can be formed by combining two words from a vector.
Input
...Access this course and 1400+ top-rated courses and projects.