For example, if the word "dog" were stored in a trie as a node, it would descend from the node containing "do," which would descend from the node containing "d."
例如,如果单词“dog”被存储为trie中的一个节点,它将是包含“do”的节点的后代,而后者又是包含“d”的节点的后代。
For example, if the word "dog" were stored in a trie as a node, it would descend from the node containing "do," which would descend from the node containing "d."
例如,如果单词“dog”被存储为trie中的一个节点,它将是包含“do”的节点的后代,而后者又是包含“d”的节点的后代。
应用推荐