Closed MimiOlayeye closed 3 years ago
How can we ensure we reach every endstate in the trie? does this require recursion? and once an endstate is reached is there a more efficient way to return the word other than traversing back up the branch of the trie?
How can we ensure we reach every endstate in the trie? does this require recursion? and once an endstate is reached is there a more efficient way to return the word other than traversing back up the branch of the trie?