Bottom up traversal of Trie

Bottom up traversal of Trie