I am implementing a method to traverse a trie (more specifically, I am trying to count the number of leaf nodes. The edges going into these leaf nodes all have a terminator symbol '#').I am implementing a method to traverse a trie (
I am implementing a method to traverse a trie (more specifically, I am trying to count the number of leaf nodes. The edges going into these leaf nodes all have a terminator symbol '#').I am implementing a method to traverse a trie (