Online computation of normalized substring complexity

Abstract

The normalized substring complexity δ of a string is defined as k \c[k]/k\, where c[k] is the number of distinct substrings of length k. 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 O( n) amortized time per character, and the other in O(3 n) worst-case time per character. To our knowledge, this is the first polylog-time online solution to this problem.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…