English

Online computation of normalized substring complexity

Data Structures and Algorithms 2026-02-17 v2

Abstract

The normalized substring complexity δ\delta of a string is defined as maxk{c[k]/k}\max_k \{c[k]/k\}, where c[k]c[k] is the number of \textit{distinct} substrings of length kk. This simply defined measure has recently attracted attention due to its established relationship to popular string compression algorithms. We consider the problem of computing δ\delta online, when the string is provided from a stream. We present two algorithms solving the problem: one working in O(logn)O(\log n) amortized time per character, and the other in O(log3n)O(\log^3 n) worst-case time per character. To our knowledge, this is the first polylog-time online solution to this problem.

Keywords

Cite

@article{arxiv.2510.16454,
  title  = {Online computation of normalized substring complexity},
  author = {Gregory Kucherov and Yakov Nekrich},
  journal= {arXiv preprint arXiv:2510.16454},
  year   = {2026}
}

Comments

16 pages, 1 figure

R2 v1 2026-07-01T06:44:53.558Z