English

Succinct Representations of Dynamic Strings

Data Structures and Algorithms 2010-06-25 v2

Abstract

The rank and select operations over a string of length n from an alphabet of size σ\sigma have been used widely in the design of succinct data structures. In many applications, the string itself need be maintained dynamically, allowing characters of the string to be inserted and deleted. Under the word RAM model with word size w=Ω(lgn)w=\Omega(\lg n), we design a succinct representation of dynamic strings using nH0+o(n)lgσ+O(w)nH_0 + o(n)\lg\sigma + O(w) bits to support rank, select, insert and delete in O(lgnlglgn(lgσlglgn+1))O(\frac{\lg n}{\lg\lg n}(\frac{\lg \sigma}{\lg\lg n}+1)) time. When the alphabet size is small, i.e. when σ=O(\polylog(n))\sigma = O(\polylog (n)), including the case in which the string is a bit vector, these operations are supported in O(lgnlglgn)O(\frac{\lg n}{\lg\lg n}) time. Our data structures are more efficient than previous results on the same problem, and we have applied them to improve results on the design and construction of space-efficient text indexes.

Keywords

Cite

@article{arxiv.1005.4652,
  title  = {Succinct Representations of Dynamic Strings},
  author = {Meng He and J. Ian Munro},
  journal= {arXiv preprint arXiv:1005.4652},
  year   = {2010}
}
R2 v1 2026-06-21T15:27:41.949Z