Text Indexing and Searching in Sublinear Time

Munro, J. Ian; Nekrich, Yakov

Abstract

We introduce the first index that can be built in o(n) time for a text of length n, and can also be queried in o(q) time for a pattern of length q. On an alphabet of size, our index uses O(n log) bits, is built in O(n log f/plog n) deterministic time, and computes the number of occurrences of the pattern in time O(q/logf n+log n logf n). Each such occurrence can then be found in O(log n) time. Other trade-offs between the space usage and the cost of reporting occurrences are also possible. 2012 ACM Subject Classification Theory of computation ! Data structures design and analysis.

Más información

Título según SCOPUS: Text Indexing and Searching in Sublinear Time
Título de la Revista: Leibniz International Proceedings in Informatics, LIPIcs
Volumen: 161
Fecha de publicación: 2020
DOI:

10.4230/LIPICS.CPM.2020.24

Notas: SCOPUS