What is the error in this code?
DIGITAL DICTIONARY
I have been able to solve this problem with Trie data structure, but I want to know how to solve it using map.
@AbhilashaBansal
hey this question is designed to learn the implementation using trie so itβs better to use trie instead of hash map