paper

Online computation of normalized substring complexity

arXiv:2510.16454

Abstract

The normalized substring complexity of a string is defined as , where is the number of \textit{distinct} substrings of length . This simply defined measure has recently attracted attention due to its established relationship to popular string compression algorithms. We consider the problem of computing online, when the string is provided from a stream. We present two algorithms solving the problem: one working in amortized time per character, and the other in worst-case time per character. To our knowledge, this is the first polylog-time online solution to this problem.

16 pages, 1 figure

Online computation of normalized substring complexity · wovepaper