计算机科学 > 数据结构与算法
[提交于 2015年1月26日]
标题:Constructing LZ78 Tries and Position Heaps in Linear Time for Large Alphabets
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We present the first worst-case linear-time algorithm to compute the Lempel-Ziv 78 factorization of a given string over an integer alphabet. Our algorithm is based on nearest marked ancestor queries on the suffix tree of the given string. We also show that the same technique can be used to construct the position heap of a set of strings in worst-case linear time, when the set of strings is given as a trie.
提交历史
来自:Tomohiro I[v1] 2015年1月26日 星期一 23:15:45 UTC