here is my code
Trie code is throwing error. please look into it
@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.