only one testcase is passing.Showing tle for others. I have read the tutorial but haven’t explained it completely.Can you please help me in understanding the approach?
code link is :- https://ide.codingblocks.com/s/227123
only one testcase is passing.Showing tle for others. I have read the tutorial but haven’t explained it completely.Can you please help me in understanding the approach?
code link is :- https://ide.codingblocks.com/s/227123
While solving this question using trie.
Now, keeping above in mind, try to correct your code.
updated code