English

A Suffix Tree Or Not A Suffix Tree?

Data Structures and Algorithms 2014-09-02 v3

Abstract

In this paper we study the structure of suffix trees. Given an unlabeled tree τ\tau on nn nodes and suffix links of its internal nodes, we ask the question "Is τ\tau a suffix tree?", i.e., is there a string SS whose suffix tree has the same topological structure as τ\tau? We place no restrictions on SS, in particular we do not require that SS ends with a unique symbol. This corresponds to considering the more general definition of implicit or extended suffix trees. Such general suffix trees have many applications and are for example needed to allow efficient updates when suffix trees are built online. We prove that τ\tau is a suffix tree if and only if it is realized by a string SS of length n1n-1, and we give a linear-time algorithm for inferring SS when the first letter on each edge is known. This generalizes the work of I et al. [Discrete Appl. Math. 163, 2014].

Cite

@article{arxiv.1403.1364,
  title  = {A Suffix Tree Or Not A Suffix Tree?},
  author = {Tatiana Starikovskaya and Hjalte Wedel Vildhøj},
  journal= {arXiv preprint arXiv:1403.1364},
  year   = {2014}
}

Comments

Full version. An extended abstract has been accepted to IWOCA 2014

R2 v1 2026-06-22T03:21:22.655Z