Digital Dictionary Trie

3 test cases are giving run error
My code


Help!!

why are you storing the words thrice
once in 2D array then in map and then again in tries??

you only need to store the words in tries

Modified Code

But now modified code is showing all test cases wrong

please check again it is passing all testcases

Yes It is passing…