It is showing wrong output but for sample test case it is working fine. Please help me where I am making mistake?
Where I am making mistake?
Hello @raj.verma5454,
-
You have missed a very important part of the question:
else you need to print “No suggestions” without the inverted commas. -
Insert the element in the trie if it is not present.
Hope, this would help.
Give a like if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.