中文
相关论文

相关论文: Internal Shortest Absent Word Queries in Constant …

200 篇论文

Given an array A of $n$ elements, we wish to support queries for the most frequent and least frequent element in a subrange $[l, r]$ of $A$. We also wish to support updates that change a particular element at index $i$ or insert/ delete an…

数据结构与算法 · 计算机科学 2018-07-12 Hicham El-Zein , Meng He , J. Ian Munro , Bryce Sandlund

A mode of a multiset $S$ is an element $a \in S$ of maximum multiplicity; that is, $a$ occurs at least as frequently as any other element in $S$. Given a list $A[1:n]$ of $n$ items, we consider the problem of constructing a data structure…

数据结构与算法 · 计算机科学 2011-01-24 Stephane Durocher , Jason Morrison

The Shortest Superstring Problem (SSP) consists, for a set of strings S = {s_1,...,s_n}, to find a minimum length string that contains all s_i, 1 <= i <= k, as substrings. This problem is proved to be NP-Complete and APX-hard. Guaranteed…

离散数学 · 计算机科学 2016-05-19 Tristan Braquelaire , Marie Gasparoux , Mathieu Raffinot , Raluca Uricaru

Grammar-based compression, where one replaces a long string by a small context-free grammar that generates the string, is a simple and powerful paradigm that captures many popular compression schemes. Given a grammar, the random access…

数据结构与算法 · 计算机科学 2016-11-17 Philip Bille , Anders Roy Christiansen , Patrick Hagge Cording , Inge Li Gørtz

Given strings $P$ and $Q$ the (exact) string matching problem is to find all positions of substrings in $Q$ matching $P$. The classical Knuth-Morris-Pratt algorithm [SIAM J. Comput., 1977] solves the string matching problem in linear time…

数据结构与算法 · 计算机科学 2010-09-08 Philip Bille

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 investigate the problem of partitioning an input string T in such a way that compressing individually its parts via a base-compressor C gets a compressed output that is shorter than applying C over the entire T at once.…

数据结构与算法 · 计算机科学 2009-06-26 Paolo Ferragina , Igor Nitto , Rossano Venturini

Given an undirected unweighted graph $G$ and a source set $S$ of $|S| = \sigma $ sources, we want to build a data structure which can process the following query {\sc Q}$(s,t,e):$ find the shortest distance from $s$ to $t$ avoiding an edge…

数据结构与算法 · 计算机科学 2018-05-02 Manoj Gupta , Aditi Singh

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

Let $P$ be a set of $n$ points in the plane. In this paper we study a new variant of the circular separability problem in which a point set $P$ is preprocessed so that one can quickly answer queries of the following form: Given a geometric…

计算几何 · 计算机科学 2012-03-29 Greg Aloupis , Luis Barba , Stefan Langerman

String attractors [STOC 2018] are combinatorial objects recently introduced to unify all known dictionary compression techniques in a single theory. A set $\Gamma\subseteq [1..n]$ is a $k$-attractor for a string $S\in[1..\sigma]^n$ if and…

数据结构与算法 · 计算机科学 2020-12-09 Dominik Kempa , Alberto Policriti , Nicola Prezza , Eva Rotenberg

Much research in stringology focuses on structures that can, in a way, ``grasp'' repeats (substrings that occur multiple times) as, for example, the so-called runs, a.k.a. maximal repetitions, compactly describe all tandem repeats. In this…

数据结构与算法 · 计算机科学 2024-10-02 Dmitry Kosolobov

We present simple and efficient algorithms for calculating $q$-gram frequencies on strings represented in compressed form, namely, as a straight line program (SLP). Given an SLP of size $n$ that represents string $T$, we present an $O(qn)$…

数据结构与算法 · 计算机科学 2011-07-14 Keisuke Goto , Hideo Bannai , Shunsuke Inenaga , Masayuki Takeda

Longest common substring (LCS), longest palindrome substring (LPS), and Ulam distance (UL) are three fundamental string problems that can be classically solved in near linear time. In this work, we present sublinear time quantum algorithms…

量子物理 · 物理学 2023-12-29 François Le Gall , Saeed Seddighin

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

Let $P$ be a simple polygon of $n$ vertices. We consider two-point $L_1$ shortest path queries in $P$. We build a data structure of $O(n)$ size in $O(n)$ time such that given any two query points $s$ and $t$, the length of an $L_1$ shortest…

计算几何 · 计算机科学 2018-09-21 Sang Won Bae , Haitao Wang

We show that if DTIME[2^{O(n)}] is not included in DSPACE[2^{o(n)}], then, for every set B in PSPACE, all strings x in B of length n can be represented by a string compressed(x) of length at most log (|B^{=n}|) + O(log n), such that a…

计算复杂性 · 计算机科学 2011-04-15 Marius Zimand

We consider an interval coverage problem. Given $n$ intervals of the same length on a line $L$ and a line segment $B$ on $L$, we want to move the intervals along $L$ such that every point of $B$ is covered by at least one interval and the…

计算几何 · 计算机科学 2014-12-09 Aaron M. Andrews , Haitao Wang

The longest common substring problem consists in finding a longest string that appears as a (contiguous) substring of two input strings. We consider the dynamic variant of this problem, in which we are to maintain two dynamic strings $S$…

数据结构与算法 · 计算机科学 2026-04-09 Panagiotis Charalampopoulos , Paweł Gawrychowski , Karol Pokorski

We present linear-space data structures for several frequency queries on trees, namely: path mode, path least frequent element, and path $\alpha$-minority queries. We present the first linear-space data structures, requiring $O(n…

数据结构与算法 · 计算机科学 2026-04-22 Ovidiu Rata
‹ 上一页 1 8 9 10 下一页 ›