中文
相关论文

相关论文: Sampled Longest Common Prefix Array

200 篇论文

Suffix arrays and LCP arrays are one of the most fundamental data structures widely used for various kinds of string processing. We consider two problems for a read-only string of length $N$ over an integer alphabet $[1, \dots, \sigma]$ for…

数据结构与算法 · 计算机科学 2019-07-16 Keisuke Goto

We present the first worst-case linear time algorithm that directly computes the parameterized suffix and LCP arrays for constant sized alphabets. Previous algorithms either required quadratic time or the parameterized suffix tree to be…

数据结构与算法 · 计算机科学 2019-06-04 Noriki Fujisato , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai , Masayuki Takeda

We present several results about position heaps, a relatively new alternative to suffix trees and suffix arrays. First, we show that, if we limit the maximum length of patterns to be sought, then we can also limit the height of the heap and…

数据结构与算法 · 计算机科学 2013-01-15 Travis Gagie , Wing-Kai Hon , Tsung-Han Ku

We consider the communication complexity of fundamental longest common prefix (Lcp) problems. In the simplest version, two parties, Alice and Bob, each hold a string, $A$ and $B$, and we want to determine the length of their longest common…

数据结构与算法 · 计算机科学 2018-06-11 Philip Bille , Mikko Berggreen Ettienne , Roberto Grossi , Inge Li Gørtz , Eva Rotenberg

Much research has been devoted to optimizing algorithms of the Lempel-Ziv (LZ) 77 family, both in terms of speed and memory requirements. Binary search trees and suffix trees (ST) are data structures that have been often used for this…

数据结构与算法 · 计算机科学 2016-11-17 Artur Ferreira , Arlindo Oliveira , Mario Figueiredo

Given a string $S$ of length $n$, the classic string indexing problem is to preprocess $S$ into a compact data structure that supports efficient subsequent pattern queries. In this paper we consider the basic variant where the pattern is…

数据结构与算法 · 计算机科学 2024-02-15 Philip Bille , Inge Li Gørtz , Teresa Anna Steiner

The k-spectrum of a string is the set of all distinct substrings of length k occurring in the string. K-spectra have many applications in bioinformatics including pseudoalignment and genome assembly. The Spectral Burrows-Wheeler Transform…

数据结构与算法 · 计算机科学 2023-06-09 Jarno N. Alanko , Elena Biagi , Simon J. Puglisi

The suffix tree is arguably the most fundamental data structure on strings: introduced by Weiner (SWAT 1973) and McCreight (JACM 1976), it allows solving a myriad of computational problems on strings in linear time. Motivated by its large…

数据结构与算法 · 计算机科学 2026-05-07 Ruben Becker , Davide Cenzato , Travis Gagie , Sung-Hwan Kim , Ragnar Groot Koerkamp , Giovanni Manzini , Nicola Prezza

The suffix array is a data structure that finds numerous applications in string processing problems for both linguistic texts and biological data. It has been introduced as a memory efficient alternative for suffix trees. The suffix array…

数据结构与算法 · 计算机科学 2013-07-05 Sanguthevar Rajasekaran , Marius Nicolae

In the last decades, the necessity to process massive amounts of textual data fueled the development of compressed text indexes: data structures efficiently answering queries on a given text while occupying space proportional to the…

数据结构与算法 · 计算机科学 2024-09-24 Dominik Kempa , Tomasz Kociumaka

In this paper we address the longest common extension (LCE) problem: to compute the length $\ell$ of the longest common prefix between any two suffixes of $T\in \Sigma^n$ with $ \Sigma = \{0, \ldots \sigma-1\} $. We present two fast and…

数据结构与算法 · 计算机科学 2016-07-25 Alberto Policriti , Nicola Prezza

The suffix array is a classic full-text index, combining effectiveness with simplicity. We discuss three approaches aiming to improve its efficiency even more: changes to the navigation, data layout and adding extra data. In short, we show…

数据结构与算法 · 计算机科学 2016-07-28 Tomasz Kowalski , Szymon Grabowski , Kimmo Fredriksson , Marcin Raniszewski

Suffix tree (and the closely related suffix array) are fundamental structures capturing all substrings of a given text essentially by storing all its suffixes in the lexicographical order. In some applications, we work with a subset of $b$…

数据结构与算法 · 计算机科学 2016-08-03 Paweł Gawrychowski , Tomasz Kociumaka

Suffix trees are a fundamental data structure in stringology, but their space usage, though linear, is an important problem for its applications. We design and implement a new compressed suffix tree targeted to highly repetitive texts, such…

数据结构与算法 · 计算机科学 2019-02-12 Manuel Cáceres , Gonzalo Navarro

In this work, we study the limits of compressed data structures, i.e., structures that support various queries on an input text $T\in\Sigma^n$ using space proportional to the size of $T$ in compressed form. Nearly all fundamental queries…

数据结构与算法 · 计算机科学 2025-10-23 Dominik Kempa , Tomasz Kociumaka

Tries are popular data structures for storing a set of strings, where common prefixes are represented by common root-to-node paths. Over fifty years of usage have produced many variants and implementations to overcome some of their…

数据结构与算法 · 计算机科学 2011-12-06 Roberto Grossi , Giuseppe Ottaviano

We solve the problem of finding interspersed maximal repeats using a suffix array construction. As it is well known, all the functionality of suffix trees can be handled by suffix arrays, gaining practicality. Our solution improves the…

数据结构与算法 · 计算机科学 2013-04-03 Veronica Becher , Alejandro Deymonnaz , Pablo Ariel Heiber

We introduce a new family of compressed data structures to efficiently store and query large string dictionaries in main memory. Our main technique is a combination of hierarchical Front-coding with ideas from longest-common-prefix…

数据结构与算法 · 计算机科学 2019-11-20 Nieves R. Brisaboa , Ana Cerdeira-Pena , Guillermo de Bernardo , Gonzalo Navarro

Prefix caching is a key latency optimization for autoregressive LLM serving, yet existing systems assume dense per-token key/value reuse. State-space models change the structure of the problem: a recurrent layer can resume from a single…

机器学习 · 计算机科学 2026-05-08 Mikhail Shirokikh , Sergey Nikolenko

We present first algorithmic ideas for a practical and lightweight adaption of the DCX suffix array construction algorithm [Sanders et al., 2003] to the distributed-memory setting. Our approach relies on a bucketing technique which enables…

数据结构与算法 · 计算机科学 2024-12-16 Manuel Haag , Florian Kurpicz , Peter Sanders , Matthias Schimek