中文
相关论文

相关论文: Deterministic sub-linear space LCE data structures…

200 篇论文

A key principle in string processing is local consistency: using short contexts to handle matching fragments of a string consistently. String synchronizing sets [Kempa, Kociumaka; STOC 2019] are an influential instantiation of this…

数据结构与算法 · 计算机科学 2026-02-13 Jonas Ellert , Tomasz Kociumaka

Given a text $T$ of length $n$, we propose a deterministic online algorithm computing the sparse suffix array and the sparse longest common prefix array of $T$ in $O(c \sqrt{\lg n} + m \lg m \lg n \lg^* n)$ time with $O(m)$ words of space…

数据结构与算法 · 计算机科学 2018-03-26 Johannes Fischer , Tomohiro I , Dominik Köppl

This paper gives new results for synchronization strings, a powerful combinatorial object that allows to efficiently deal with insertions and deletions in various communication settings: $\bullet$ We give a deterministic, linear time…

信息论 · 计算机科学 2017-11-13 Bernhard Haeupler , Amirbehshad Shahrasbi

A classic data structure problem is to preprocess a string T of length $n$ so that, given a query $q$, we can quickly find all substrings of T with Hamming distance at most $k$ from the query string. Variants of this problem have seen…

数据结构与算法 · 计算机科学 2026-04-03 Jackson Bibbens , Levi Borevitz , Samuel McCauley

We introduce a compressed suffix array representation that, on a text $T$ of length $n$ over an alphabet of size $\sigma$, can be built in $O(n)$ deterministic time, within $O(n\log\sigma)$ bits of working space, and counts the number of…

数据结构与算法 · 计算机科学 2017-09-05 J. Ian Munro , Gonzalo Navarro , Yakov Nekrich

The longest common extension problem is to preprocess a given string of length $n$ into a data structure that uses $S(n)$ bits on top of the input and answers in $T(n)$ time the queries $\mathit{LCE}(i,j)$ computing the length of the…

数据结构与算法 · 计算机科学 2017-05-12 Dmitry Kosolobov

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

The suffix array and the suffix tree are the two most fundamental data structures for string processing. For a length-$n$ text, however, they use $\Theta(n \log n)$ bits of space, which is often too costly. To address this, Grossi and…

数据结构与算法 · 计算机科学 2023-04-20 Dominik Kempa , Tomasz Kociumaka

We study the Longest Common Extension (LCE) problem in a string containing wildcards. Wildcards (also called "don't cares" or "holes") are special characters that match any other character in the alphabet, similar to the character "?" in…

数据结构与算法 · 计算机科学 2025-05-23 Gabriel Bathie , Itai Boneh , Panagiotis Charalampopoulos , Jonas Ellert , Tatiana Starikovskaya

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 $\sigma$, our index uses $O(n\sqrt{\log n\log\sigma})$ bits,…

数据结构与算法 · 计算机科学 2019-07-16 J. Ian Munro , Gonzalo Navarro , Yakov Nekrich

The longest common prefix (LCP) array is a versatile auxiliary data structure in indexed string matching. It can be used to speed up searching using the suffix array (SA) and provides an implicit representation of the topology of an…

数据结构与算法 · 计算机科学 2016-03-09 German Tischler

In this paper we investigate the problem of building a static data structure that represents a string s using space close to its compressed size, and allows fast access to individual characters of s. This type of structures was investigated…

计算复杂性 · 计算机科学 2012-05-04 Shiteng Chen , Elad Verbin , Wei Yu

We revisit the range $\tau$-majority problem, which asks us to preprocess an array $A[1..n]$ for a fixed value of $\tau \in (0,1/2]$, such that for any query range $[i,j]$ we can return a position in $A$ of each distinct $\tau$-majority…

数据结构与算法 · 计算机科学 2017-04-21 Pawel Gawrychowski , Patrick K. Nicholson

In this paper we describe a dynamic data structure that answers one-dimensional stabbing-max queries in optimal $O(\log n/\log\log n)$ time. Our data structure uses linear space and supports insertions and deletions in $O(\log n)$ and…

数据结构与算法 · 计算机科学 2011-09-20 Yakov Nekrich

Given an $n$-bit array $A$, the succinct rank data structure problem asks to construct a data structure using space $n+r$ bits for $r\ll n$, supporting rank queries of form $\mathtt{rank}(x)=\sum_{i=0}^{x-1} A[i]$. In this paper, we design…

数据结构与算法 · 计算机科学 2019-04-08 Huacheng Yu

The suffix trees are fundamental data structures for various kinds of string processing. The suffix tree of a text string $T$ of length $n$ has $O(n)$ nodes and edges, and the string label of each edge is encoded by a pair of positions in…

数据结构与算法 · 计算机科学 2023-12-06 Diptarama Hendrian , Takuya Takagi , Shunsuke Inenaga , Keisuke Goto , Mitsuru Funakoshi

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

In the longest common substring (LCS) problem, we are given two strings $S$ and $T$, each of length at most $n$, and we are asked to find a longest string occurring as a fragment of both $S$ and $T$. This is a classical and well-studied…

数据结构与算法 · 计算机科学 2018-07-17 Amihood Amir , Panagiotis Charalampopoulos , Solon P. Pissis , Jakub Radoszewski

One of the most fundamental method for comparing two given strings $A$ and $B$ is the longest common subsequence (LCS), where the task is to find (the length) of an LCS of $A$ and $B$. In this paper, we deal with the STR-IC-LCS problem…

数据结构与算法 · 计算机科学 2024-05-21 Yuki Yonemoto , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai

We give a sublinear quantum algorithm for the longest common substring (LCS) problem on the run-length encoded (RLE) inputs, under the assumption that the prefix-sums of the runs are given. Our algorithm costs $\tilde{O}(n^{5/6})\cdot…

量子物理 · 物理学 2023-10-03 Tzu-Ching Lee , Han-Hsuan Lin