Suffix Trays and Suffix Trists: Structures for Faster Text Indexing
Abstract
Suffix trees and suffix arrays are two of the most widely used data structures for text indexing. Each uses linear space and can be constructed in linear time for polynomially sized alphabets. However, when it comes to answering queries with worst-case deterministic time bounds, the prior does so in O(mlog|Σ|) time, where m is the query size, |Σ| is the alphabet size, and the latter does so in O(m+logn) time, where n is the text size. If one wants to output all appearances of the query, an additive cost of O(occ) time is sufficient, where occ is the size of the output. Notice that it is possible to obtain a worst case, deterministic query time of O(m) but at the cost of super-linear construction time or space usage.
BibTeX
@article{cole2015suffix,
author = {Richard Cole and Tsvi Kopelowitz and Moshe Lewenstein},
title = {{Suffix Trays and Suffix Trists: Structures for Faster Text Indexing}},
journal = {Algorithmica},
year = {2015},
doi = {10.1007/s00453-013-9860-6},
}Ask Althea to put this paper to the test.
Loading related content...