English

Reduction ratio of the IS-algorithm: worst and random cases

Data Structures and Algorithms 2022-04-12 v1

Abstract

We study the IS-algorithm, a well-known linear-time algorithm for computing the suffix array of a word. This algorithm relies on transforming the input word ww into another word, called the reduced word of ww, that will be at least twice shorter; then, the algorithm recursively computes the suffix array of the reduced word. In this article, we study the reduction ratio of the IS-algorithm, i.e., the ratio between the lengths of the input word and the word obtained after reducing kk times the input word. We investigate both worst cases, in which we find precise results, and random cases, where we prove some strong convergence phenomena. Finally, we prove that, if the input word is a randomly chosen word of length nn, we should not expect much more than log(log(n))\log(\log(n)) recursive function calls.

Keywords

Cite

@article{arxiv.2204.04422,
  title  = {Reduction ratio of the IS-algorithm: worst and random cases},
  author = {Vincent Jugé},
  journal= {arXiv preprint arXiv:2204.04422},
  year   = {2022}
}

Comments

21 pages. Article to be published in the proceedings of the 33rd Annual Symposium on Combinatorial Pattern Matching (CPM 2022)

R2 v1 2026-06-24T10:43:08.645Z