【问题标题】:Suffix Trie and Suffix Tree后缀特里和后缀树
【发布时间】:2016-06-24 12:14:07
【问题描述】:

我了解 (Prefix) Trie、Suffix Trie 和 Suffix Tree 之间的区别,我正在尝试为两者编写 Java 代码。 SuffixTrieNode 和 SuffixTreeNode 类的 Java 表示/结构是什么?

SuffixTrie representation:

class SuffixTrie{
   SuffixTrieNode root;

   class SuffixTrieNode{
      SuffixTrieNode[] links;
   }
}

SuffixTree representation:

class SuffixTree{
   SuffixTreeNode root;

   class SuffixTreeNode{
      SuffixTreeNode[] links;
   }
}

谢谢!!

【问题讨论】:

标签: java trie suffix-tree


【解决方案1】:

后缀 trie 使用 trie 数据结构。构建后缀树最简单的方法是:Suffix tree and Tries. What is the difference?

【讨论】:

    猜你喜欢
    • 2016-02-15
    • 1970-01-01
    • 1970-01-01
    • 2012-06-26
    • 2012-04-21
    • 2011-01-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多