I want to print or retrieve all the words stored in Trie Data Structure. This is because I want to compute Edit distance between a misspelled word and a word in Dictionary. Therefore I was thinking of retrieving each word from Trie and compute Edit distance. But I am not able to retrieve. I want some code snippet for this. This is how I have implemented the Trie using I want to print or retrieve all the words store