2017/12/20 by J. Ian Munro, Gonzalo Navarro, Munro, J. Ian +3 · 1 citation
Computer Science · #Algorithms and Data Compression #Cellular Automata and Applications #Data Structures and Algorithms (cs.DS) #FOS: Computer and information sciences #semigroups and automata theory
paper · pdf · doi:10.48550/arxiv.1712.07431
openalex publication_date 2017/12/20 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
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 nlogσ)) bits, is built in O(n((loglog n)2+√(logσ))/√(logσn)) deterministic time, and computes the number occ of occurrences of the pattern in time O(q/logσn+log n). Each such occurrence can then be found in O(√(log nlogσ)) time. By slightly increasing the space and construction time, to O(n(√(log nlogσ)+ logσlogε n)) and O(nlog3/2σ/log1/2-ε n), respectively, for any constant 0