中文
相关论文

相关论文: Time-Space Trade-Offs for Longest Common Extension…

200 篇论文

In this paper, we construct a data structure to efficiently compute the longest increasing subsequence of a sequence subject to dynamic updates. Our data structure supports a query for the longest increasing subsequence in $O(r+\log n)$…

数据结构与算法 · 计算机科学 2013-12-17 Alex Chen , Timothy Chu , Nathan Pinsker

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

For nearly six decades, the central open question in the study of hash tables has been to determine the optimal achievable tradeoff curve between time and space. State-of-the-art hash tables offer the following guarantee: If keys/values are…

数据结构与算法 · 计算机科学 2021-11-05 Michael A. Bender , Martín Farach-Colton , John Kuszmaul , William Kuszmaul , Mingmou Liu

Given a pattern $P$ and a text $T$, both strings over a binary alphabet, the binary jumbled string matching problem consists in telling whether any permutation of $P$ occurs in $T$. The indexed version of this problem, i.e., preprocessing a…

数据结构与算法 · 计算机科学 2013-05-09 Emanuele Giaquinta , Szymon Grabowski

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 recent years much effort has been concentrated towards achieving polynomial time lower bounds on algorithms for solving various well-known problems. A useful technique for showing such lower bounds is to prove them conditionally based on…

数据结构与算法 · 计算机科学 2017-07-26 Isaac Goldstein , Tsvi Kopelowitz , Moshe Lewenstein , Ely Porat

We consider string matching with variable length gaps. Given a string $T$ and a pattern $P$ consisting of strings separated by variable length gaps (arbitrary strings of length in a specified range), the problem is to find all ending…

数据结构与算法 · 计算机科学 2011-10-14 Philip Bille , Inge Li Goertz , Hjalte Wedel Vildhøj , David Kofoed Wind

Finding an Approximate Longest Common Substring (ALCS) within a given set $S=\{s_1,s_2,\ldots,s_m\}$ of $m \ge 2$ strings is a key problem in computational biology, such as identifying related mutations across multiple genetic sequences. We…

数据结构与算法 · 计算机科学 2025-09-22 Hamed Hasibi , Neerja Mhaskar , W. F. Smyth

In this paper, we consider a generalized longest common subsequence problem, the string-excluding constrained LCS problem. For the two input sequences $X$ and $Y$ of lengths $n$ and $m$, and a constraint string $P$ of length $r$, the…

数据结构与算法 · 计算机科学 2013-01-31 Lei Wang , Xiaodong Wang , Yingjie Wu , Daxin Zhu

The longest square subsequence (LSS) problem consists of computing a longest subsequence of a given string $S$ that is a square, i.e., a longest subsequence of form $XX$ appearing in $S$. It is known that an LSS of a string $S$ of length…

数据结构与算法 · 计算机科学 2020-07-30 Takafumi Inoue , Shunsuke Inenaga , Hideo Bannai

In this paper we study the fundamental problem of maintaining a dynamic collection of strings under the following operations: concat - concatenates two strings, split - splits a string into two at a given position, compare - finds the…

数据结构与算法 · 计算机科学 2016-04-11 Paweł Gawrychowski , Adam Karczmarz , Tomasz Kociumaka , Jakub Łącki , Piotr Sankowski

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

The compressed indexing problem is to preprocess a string $S$ of length $n$ into a compressed representation that supports pattern matching queries. That is, given a string $P$ of length $m$ report all occurrences of $P$ in $S$. We present…

数据结构与算法 · 计算机科学 2018-04-12 Anders Roy Christiansen , Mikko Berggren Ettienne

The research on indexing repetitive string collections has focused on the same search problems used for regular string collections, though they can make little sense in this scenario. For example, the basic pattern matching query "list all…

数据结构与算法 · 计算机科学 2020-10-15 Gonzalo Navarro

The longest common substring with $k$-mismatches problem is to find, given two strings $S_1$ and $S_2$, a longest substring $A_1$ of $S_1$ and $A_2$ of $S_2$ such that the Hamming distance between $A_1$ and $A_2$ is $\le k$. We introduce a…

数据结构与算法 · 计算机科学 2015-04-08 Tomas Flouri , Emanuele Giaquinta , Kassian Kobert , Esko Ukkonen

We describe how, given a text $T [1..n]$ and a positive constant $\epsilon$, we can build a simple $O (z \log n)$-space index, where $z$ is the number of phrases in the LZ77 parse of $T$, such that later, given a pattern $P [1..m]$, in $O…

数据结构与算法 · 计算机科学 2022-12-06 Nick Fagan , Jorge Hermo González , Travis Gagie

This paper investigates the approximability of the Longest Common Subsequence (LCS) problem. The fastest algorithm for solving the LCS problem exactly runs in essentially quadratic time in the length of the input, and it is known that under…

数据结构与算法 · 计算机科学 2021-05-10 Shyan Akmal , Virginia Vassilevska Williams

The regular expression matching problem asks whether a given regular expression of length $m$ matches a given string of length $n$. As is well known, the problem can be solved in $O(nm)$ time using Thompson's algorithm. Moreover, recent…

计算复杂性 · 计算机科学 2026-04-03 Taisei Nogami , Yoshiki Nakamura , Tachio Terauchi

There are several known data structures that answer distance queries between two arbitrary vertices in a planar graph. The tradeoff is among preprocessing time, storage space and query time. In this paper we present three data structures…

数据结构与算法 · 计算机科学 2011-02-23 Yahav Nussbaum

It is widely assumed that $O(m+\lg \sigma)$ is the best one can do for finding a pattern of length $m$ in a compacted trie storing strings over an alphabet of size $\sigma$, if one insists on linear-size data structures and deterministic…

数据结构与算法 · 计算机科学 2013-02-15 Johannes Fischer , Pawel Gawrychowski