give the logic of the problem as not able to understand it
@Vishal123 hey, Make a trie data structure from all the words possible and match them.