Trie code is throwing error. please look into it

here is my code

@Anku47
I will get back to you ASAP.

@Anku47


This is the updated code. There were many syntactic errors in your code but no logical erros.
You had not written a constructor for the node class because of which the left and right values could not have been initialized to NULL. Just refer to the updated code and let me know if you face any issues.

If my answer is able to answer your query, please mark the doubt as resolved.