getting all wrong answers upon submission.
Https://ide.codingblocks.com/s/225203
@Adarshrajpandey you are not taking the case when the given prefix is not available in the tree.
It is given in the question in that case print ‘No Suggestion’ and add that string to the tree.
Do that
bhaiya only one ans got accepted
I have added that No suggestion part and tried on possible test cases but wasn’t able to figure out
@Adarshrajpandey hey, can you have look at this code of mine https://ide.codingblocks.com/s/226479 actually i am not able to understand exaclty your code, so i have to ask some things in it.
Can you try to look at this code it is well commented and check the differences.
You can also message me over chat for fast communication if you have some queries related to it.
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.