@datastructures-js/trie
Advanced tools
Changelog
[4.2.0] - 2021-12-01
isLeaf()
to TrieNode: leaf is a node that has no children.Changelog
[4.0.0] - 2021-02-23
.insert
can be chained..remove
now returns the removed word..fromArray
static function to convert a list into a trie.Changelog
[3.0.0] - 2020-04-09
.getWordsCount()
& .getNodesCount()
to .wordsCount()
& .nodesCount()
.Changelog
[2.0.0] - 2020-03-24