code:https://ide.codingblocks.com/s/167151
what is wrong in my code ? please help
Unique Prefix Array Tries
Hello @shashakchandel
You don’t need to print a string for each node in the trie with cnt == 1 but print only the prefix string for each string in the array “arr”
Here is the modified code
Let me know if you need any help.