Hey,i wrote the code in the same way but its giving an error.Please correct the code so that it gives the right output and tell me my mistake
@KetanPandey
Can you please tell me the question you are trying to solve?
The code for your trie is correct. I will be able to help you if you can tell me about the question you are trying to solve.