arXiv · 1501.06619
Constructing LZ78 Tries and Position Heaps in Linear Time for Large Alphabets
Abstract
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yuto Nakashima, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda. 2015-01-26. Constructing LZ78 Tries and Position Heaps in Linear Time for Large Alphabets. https://arxiv.org/abs/1501.06619
Cite the original work for its findings. Save a collection to share your selection of sources.