中文
相关论文

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

200 篇论文

We consider the problem of preprocessing a text $T$ of length $n$ and a dictionary $\mathcal{D}$ in order to be able to efficiently answer queries $CountDistinct(i,j)$, that is, given $i$ and $j$ return the number of patterns from…

We consider the classic problem of computing the Longest Common Subsequence (LCS) of two strings of length $n$. While a simple quadratic algorithm has been known for the problem for more than 40 years, no faster algorithm has been found…

数据结构与算法 · 计算机科学 2021-06-16 Karl Bringmann , Vincent Cohen-Addad , Debarati Das

Two strings of the same length are said to Cartesian-tree match (CT-match) if their Cartesian-trees are isomorphic [Park et al., TCS 2020]. Cartesian-tree matching is a natural model that allows for capturing similarities of numerical…

数据结构与算法 · 计算机科学 2026-01-01 Taketo Tsujimoto , Yuki Yonemoto , Hiroki Shibata , Takuya Mieno , Yuto Nakashima , Shunsuke Inenaga

Sorting is a fundamental algorithmic pre-processing technique which often allows to represent data more compactly and, at the same time, speeds up search queries on it. In this paper, we focus on the well-studied problem of sorting and…

数据结构与算法 · 计算机科学 2023-04-24 Sung-Hwan Kim , Francisco Olivares , Nicola Prezza

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 introduce an improved structure of distance sensitivity oracle (DSO). The task is to pre-process a non-negatively weighted graph so that a data structure can quickly answer replacement path length for every triple of source, terminal and…

数据结构与算法 · 计算机科学 2016-05-17 Ran Duan , Tianyi Zhang

Given a planar map of $n$ segments in which we wish to efficiently locate points, we present the first randomized incremental construction of the well-known trapezoidal-map search-structure that only requires expected $O(n \log n)$…

计算几何 · 计算机科学 2014-10-22 Michael Hemmer , Michal Kleinbort , Dan Halperin

We study the density estimation problem defined as follows: given $k$ distributions $p_1, \ldots, p_k$ over a discrete domain $[n]$, as well as a collection of samples chosen from a ``query'' distribution $q$ over $[n]$, output $p_i$ that…

数据结构与算法 · 计算机科学 2024-10-31 Anders Aamand , Alexandr Andoni , Justin Y. Chen , Piotr Indyk , Shyam Narayanan , Sandeep Silwal , Haike Xu

We study sketching and streaming algorithms for the Longest Common Subsequence problem (LCS) on strings of small alphabet size $|\Sigma|$. For the problem of deciding whether the LCS of strings $x,y$ has length at least $L$, we obtain a…

数据结构与算法 · 计算机科学 2018-10-03 Karl Bringmann , Bhaskar Ray Chaudhury

Karpinski and Nekrich (2008) introduced the problem of parameterized range majority, which asks us to preprocess a string of length $n$ such that, given the endpoints of a range, one can quickly find all the distinct elements whose relative…

数据结构与算法 · 计算机科学 2016-06-15 Djamal Belazzougui , Travis Gagie , J. Ian Munro , Gonzalo Navarro , Yakov Nekrich

In the distributed setting, the only existing constructions of \textit{sparse skeletons}, (i.e., subgraphs with $O(n)$ edges) either use randomization or large messages, or require $\Omega(D)$ time, where $D$ is the hop-diameter of the…

分布式、并行与集群计算 · 计算机科学 2019-07-26 Michael Elkin , Shaked Matar

For a string $S$, a palindromic substring $S[i..j]$ is said to be a \emph{shortest unique palindromic substring} ($\mathit{SUPS}$) for an interval $[s, t]$ in $S$, if $S[i..j]$ occurs exactly once in $S$, the interval $[i, j]$ contains $[s,…

数据结构与算法 · 计算机科学 2020-03-25 Kiichi Watanabe , Yuto Nakashima , Shunsuke Inenaga , Hideo Bannai , Masayuki Takeda

A choice dictionary is a data structure that can be initialized with a parameter $n\in\{1,2,\ldots\}$ and subsequently maintains an initially empty subset $S$ of $\{1,\ldots,n\}$ under insertion, deletion, membership queries and an…

数据结构与算法 · 计算机科学 2017-11-03 Torben Hagerup

It is well-known that checking whether a given string $w$ matches a given regular expression $r$ can be done in quadratic time $O(|w|\cdot |r|)$ and that this cannot be improved to a truly subquadratic running time of $O((|w|\cdot…

数据结构与算法 · 计算机科学 2025-08-21 Antoine Amarilli , Florin Manea , Tina Ringleb , Markus L. Schmid

The Longest Common Increasing Subsequence (LCIS) is a variant of the classical Longest Common Subsequence (LCS), in which we additionally require the common subsequence to be strictly increasing. While the well-known "Four Russians"…

数据结构与算法 · 计算机科学 2020-03-31 Anadi Agrawal , Paweł Gawrychowski

We propose algorithms that, given the input string of length $n$ over integer alphabet of size $\sigma$, construct the Burrows-Wheeler transform (BWT), the permuted longest-common-prefix (PLCP) array, and the LZ77 parsing in…

数据结构与算法 · 计算机科学 2020-12-09 Dominik Kempa

The Cover Suffix Tree (CST) of a string $T$ is the suffix tree of $T$ with additional explicit nodes corresponding to halves of square substrings of $T$. In the CST an explicit node corresponding to a substring $C$ of $T$ is annotated with…

数据结构与算法 · 计算机科学 2023-08-09 Jakub Radoszewski

In the past thirty years, numerous algorithms for building the suffix array of a string have been proposed. In 2021, the notion of suffix array was extended from strings to DFAs, and it was shown that the resulting data structure can be…

数据结构与算法 · 计算机科学 2023-10-10 Nicola Cotumaccio

Two important similarity measures between sequences are the longest common subsequence (LCS) and the dynamic time warping distance (DTWD). The computations of these measures for two given sequences are central tasks in a variety of…

计算复杂性 · 计算机科学 2015-02-02 Amir Abboud , Arturs Backurs , Virginia Vassilevska Williams

The {\em longest common subsequence (LCS)} problem is a classic and well-studied problem in computer science. LCS is a central problem in stringology and finds broad applications in text compression, error-detecting codes and biological…

数据结构与算法 · 计算机科学 2010-04-20 Shihabur Rahman Chowdhury , Masud Hasan , Sumaiya Iqbal , M. Sohel Rahman