Sciweavers

JACM
2006

Linear work suffix array construction

14 years 16 days ago
Linear work suffix array construction
Suffix trees and suffix arrays are widely used and largely interchangeable index structures on strings and sequences. Practitioners prefer suffix arrays due to their simplicity and space efficiency while theoreticians use suffix trees due to linear-time construction algorithms and more explicit structure. We narrow this gap between theory and practice with a simple linear-time construction algorithm for suffix arrays. The simplicity is demonstrated with a C++ implementation of 50 effective lines of code. The algorithm is called DC3, which stems from the central underlying concept of difference cover. This view leads to a generalized algorithm, DC, that allows a space-efficient implementation and, moreover, supports the choice of a space
Juha Kärkkäinen, Peter Sanders, Stefan B
Added 13 Dec 2010
Updated 13 Dec 2010
Type Journal
Year 2006
Where JACM
Authors Juha Kärkkäinen, Peter Sanders, Stefan Burkhardt
Comments (0)