pls check the code ,cant understand what is going wrong
Problem with code
Please check the Problem statement once more
You have to add the words which are not present while taking query
Hint
Example Below:
Let say you have to suggest words starting with “snake” but it doesn’t have such word as prefix “snake”.
Then you should print “No suggestions” and add “snake” to your trie/database.
: Hit a like( button) , if this works