中文
相关论文

相关论文: Quasi-Linear-Time Algorithm for Longest Common Cir…

200 篇论文

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

In this paper, we consider a generalized longest common subsequence problem with multiple substring exclusion constrains. For the two input sequences $X$ and $Y$ of lengths $n$ and $m$, and a set of $d$ constrains $P=\{P_1,...,P_d\}$ of…

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

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

We derive and study SQMC (Sequential Quasi-Monte Carlo), a class of algorithms obtained by introducing QMC point sets in particle filtering. SQMC is related to, and may be seen as an extension of, the array-RQMC algorithm of L'Ecuyer et al.…

统计计算 · 统计学 2014-12-01 Mathieu Gerber , Nicolas Chopin

The length of the longest common subsequences (LCSs) is often used as a similarity measurement to compare two (or more) random words. Below we study its statistical behavior in mean and variance using a Monte-Carlo approach from which we…

概率论 · 数学 2017-05-22 Qingqing Liu , Christian Houdré

Given two equally long, uniformly random binary strings, the expected length of their longest common subsequence (LCS) is asymptotically proportional to the strings' length. Finding the proportionality coefficient $\gamma$, i.e. the limit…

组合数学 · 数学 2024-08-15 Alexander Tiskin

We resolve a long-standing open question, about the existence of a constant-factor approximation algorithm for the average-case \textsc{Decision Tree} problem with uniform probability distribution over the hypotheses. We answer the question…

数据结构与算法 · 计算机科学 2026-04-29 Michał Szyfelbein

In this paper, we consider two versions of the Text Assembling problem. We are given a sequence of strings $s^1,\dots,s^n$ of total length $L$ that is a dictionary, and a string $t$ of length $m$ that is texts. The first version of the…

量子物理 · 物理学 2024-04-05 Kamil Khadiev , Carlos Manuel Bosch Machado , Zeyu Chen , Junde Wu

The Longest Common Weakly Increasing Subsequence problem (LCWIS) is a variant of the classic Longest Common Subsequence problem (LCS). Both problems can be solved with simple quadratic time algorithms. A recent line of research led to a…

计算复杂性 · 计算机科学 2020-04-10 Adam Polak

Longest Increasing Subsequence (LIS) is a fundamental statistic of a sequence, and has been studied for decades. While the LIS of a sequence of length $n$ can be computed exactly in time $O(n\log n)$, the complexity of estimating the…

数据结构与算法 · 计算机科学 2022-11-02 Alexandr Andoni , Negev Shekel Nosatzki , Sandip Sinha , Clifford Stein

A border u of a word w is a proper factor of w occurring both as a prefix and as a suffix. The maximal unbordered factor of w is the longest factor of w which does not have a border. Here an O(n log n)-time with high probability (or O(n log…

数据结构与算法 · 计算机科学 2018-07-03 Tomasz Kociumaka , Ritu Kundu , Manal Mohamed , Solon P. Pissis

This paper performs the analysis necessary to bound the running time of known, efficient algorithms for generating all longest common subsequences. That is, we bound the running time as a function of input size for algorithms with time…

离散数学 · 计算机科学 2007-05-23 Ronald I. Greenberg

In this paper we consider the following problems: how many different subsets of Sigma^n can occur as set of all length-n factors of a finite word? If a subset is representable, how long a word do we need to represent it? How many such…

形式语言与自动机理论 · 计算机科学 2013-04-15 Shuo Tan , Jeffrey Shallit

In this paper, we present an efficient massively parallel approximation algorithm for the $k$-means problem. Specifically, we provide an MPC algorithm that computes a constant-factor approximation to an arbitrary $k$-means instance in…

数据结构与算法 · 计算机科学 2025-07-21 Vincent Cohen-Addad , Fabian Kuhn , Zahra Parsaeian

At CPM 2017, Castelli et al. define and study a new variant of the Longest Common Subsequence Problem, termed the Longest Filled Common Subsequence Problem (LFCS). For the LFCS problem, the input consists of two strings $A$ and $B$ and a…

数据结构与算法 · 计算机科学 2019-08-06 Radu Stefan Mincu , Alexandru Popa

Suppose we want to seek the longest common subsequences (LCSs) of two strings as informative patterns that explain the relationship between the strings. The dynamic programming algorithm gives us a table from which all LCSs can be extracted…

数据结构与算法 · 计算机科学 2025-05-23 Yoshifumi Sakai

It is a classical result that a random permutation of $n$ elements has, on average, about $\log n$ cycles. We generalise this fact to all directed $d$-regular graphs on $n$ vertices by showing that, on average, a random cycle-factor of such…

Longest Common Substring (LCS) is an important text processing problem, which has recently been investigated in the quantum query model. The decisional version of this problem, LCS with threshold $d$, asks whether two length-$n$ input…

数据结构与算法 · 计算机科学 2022-11-30 Ce Jin , Jakob Nogler

For a partial word $w$ the longest common compatible prefix of two positions $i,j$, denoted $lccp(i,j)$, is the largest $k$ such that $w[i,i+k-1]\uparrow w[j,j+k-1]$, where $\uparrow$ is the compatibility relation of partial words (it is…

We give new bounds on the circuit complexity of the quantum Fourier transform (QFT). We give an upper bound of O(log n + log log (1/epsilon)) on the circuit depth for computing an approximation of the QFT with respect to the modulus 2^n…

量子物理 · 物理学 2007-05-23 Richard Cleve , John Watrous