Open ghost opened 9 years ago
You forgot it is not a binary-search-trie, the leftmost child of the right trie, suc, may have two children (suc.e and suc.g).
suc
suc.e
suc.g
https://github.com/monmohan/dsjslib/blob/master/lib/TernarySearchTrie.js#L89-L100
You forgot it is not a binary-search-trie, the leftmost child of the right trie,
suc
, may have two children (suc.e
andsuc.g
).https://github.com/monmohan/dsjslib/blob/master/lib/TernarySearchTrie.js#L89-L100