pith. sign in

arxiv: 1611.08198 · v1 · pith:CPWP7I6Pnew · submitted 2016-11-24 · 💻 cs.DS

Burrows-Wheeler transform and LCP array construction in constant space

classification 💻 cs.DS
keywords spacearrayadditionalalgorithmconstantcrochemoretimeburrows-wheeler
0
0 comments X
read the original abstract

In this article we extend the elegant in-place Burrows-Wheeler transform (BWT) algorithm proposed by Crochemore et al. (Crochemore et al., 2015). Our extension is twofold: we first show how to compute simultaneously the longest common prefix (LCP) array as well as the BWT, using constant additional space; we then show how to build the LCP array directly in compressed representation using Elias coding, still using constant additional space and with no asymptotic slowdown. Furthermore, we provide a time/space tradeoff for our algorithm when additional memory is allowed. Our algorithm runs in quadratic time, as does Crochemore et al.'s, and is supported by interesting properties of the BWT and of the LCP array, contributing to our understanding of the time/space tradeoff curve for building indexing structures.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.