paper

Compressed Data Structures for Dynamic Sequences

arXiv:1507.06866

Abstract

We consider the problem of storing a dynamic string over an alphabet in compressed form. Our representation supports insertions and deletions of symbols and answers three fundamental queries: returns the -th symbol in , counts how many times a symbol occurs among the first positions in , and finds the position where a symbol occurs for the -th time. We present the first fully-dynamic data structure for arbitrarily large alphabets that achieves optimal query times for all three operations and supports updates with worst-case time guarantees. Ours is also the first fully-dynamic data structure that needs only bits, where is the -th order entropy and is the string length. Moreover our representation supports extraction of a substring in optimal time.

References in corpus (1)