Substring Complexities on Run-length Compressed Strings

Abstract

Let ST(k) denote the set of distinct substrings of length k in a string T, then the k-th substring complexity is defined by its cardinality |ST(k)|. Recently, δ = \ |ST(k)| / k : k 1 \ is shown to be a good compressibility measure of highly-repetitive strings. In this paper, given T of length n in the run-length compressed form of size r, we show that δ can be computed in Csort(r, n) time and O(r) space, where Csort(r, n) = O( (r r, r r n)) is the time complexity for sorting r O( n)-bit integers in O(r) space in the Word-RAM model with word size ( n).

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…