Wrong answers in all cases


I have done lexographically check;
if a string is not present i have added to the trie also
still all test cases failing

Hello @piyush.bansal8158625,

I have modified your code, now its passing all the test cases:

Hope, this would help.
Give a like, if you are satisfied.