English

Sparse Suffix Tree Construction with Small Space

Data Structures and Algorithms 2012-07-06 v1

Abstract

We consider the problem of constructing a sparse suffix tree (or suffix array) for bb suffixes of a given text TT of size nn, using only O(b)O(b) words of space during construction time. Breaking the naive bound of Ω(nb)\Omega(nb) time for this problem has occupied many algorithmic researchers since a different structure, the (evenly spaced) sparse suffix tree, was introduced by K{\"a}rkk{\"a}inen and Ukkonen in 1996. While in the evenly spaced sparse suffix tree the suffixes considered must be evenly spaced in TT, here there is no constraint on the locations of the suffixes. We show that the sparse suffix tree can be constructed in O(nlog2b)O(n\log^2b) time. To achieve this we develop a technique, which may be of independent interest, that allows to efficiently answer bb longest common prefix queries on suffixes of TT, using only O(b)O(b) space. We expect that this technique will prove useful in many other applications in which space usage is a concern. Furthermore, additional tradeoffs between the space usage and the construction time are given.

Keywords

Cite

@article{arxiv.1207.1135,
  title  = {Sparse Suffix Tree Construction with Small Space},
  author = {Philip Bille and Inge Li Gørtz and Tsvi Kopelowitz and Benjamin Sach and Hjalte Wedel Vildhøj},
  journal= {arXiv preprint arXiv:1207.1135},
  year   = {2012}
}

Comments

7 pages, submitted

R2 v1 2026-06-21T21:30:45.361Z