pith. sign in

arxiv: 1501.06619 · v1 · pith:DUKSCVE4new · submitted 2015-01-26 · 💻 cs.DS

Constructing LZ78 Tries and Position Heaps in Linear Time for Large Alphabets

classification 💻 cs.DS
keywords givenalgorithmlinearpositionstringstringstimeworst-case
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.