中文
相关论文

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

200 篇论文

In the Longest Common Factor with $k$ Mismatches (LCF$_k$) problem, we are given two strings $X$ and $Y$ of total length $n$, and we are asked to find a pair of maximal-length factors, one of $X$ and the other of $Y$, such that their…

The Longest Common Subsequence (LCS) of two strings is a fundamental string similarity measure with a classical dynamic programming solution taking quadratic time. Despite significant efforts, little progress was made in improving the…

数据结构与算法 · 计算机科学 2021-12-17 Negev Shekel Nosatzki

In this paper we consider the problem of computing the longest common abelian factor (LCAF) between two given strings. We present a simple $O(\sigma~ n^2)$ time algorithm, where $n$ is the length of the strings and $\sigma$ is the alphabet…

数据结构与算法 · 计算机科学 2015-03-03 Ali Alatabbi , Costas S. Iliopoulos , Alessio Langiu , M. Sohel Rahman

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

We present a practical algorithm for the cyclic longest common subsequence (CLCS) problem that runs in O(mn) time, where m and n are the lengths of the two input strings. While this is not necessarily an asymptotic improvement over the…

数据结构与算法 · 计算机科学 2012-08-17 Andy Nguyen

In the classic longest common substring (LCS) problem, we are given two strings $S$ and $T$, each of length at most $n$, over an alphabet of size $\sigma$, and we are asked to find a longest string occurring as a fragment of both $S$ and…

数据结构与算法 · 计算机科学 2025-11-18 Panagiotis Charalampopoulos , Tomasz Kociumaka , Jakub Radoszewski , Solon P. Pissis

Longest common subsequence (LCS) is one of the most fundamental problems in combinatorial optimization. Apart from theoretical importance, LCS has enormous applications in bioinformatics, revision control systems, and data comparison…

数据结构与算法 · 计算机科学 2020-03-17 MohammadTaghi Hajiaghayi , Masoud Seddighin , Saeed Seddighin , Xiaorui Sun

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

We consider the longest common subsequence (LCS) problem with the restriction that the common subsequence is required to consist of at least $k$ length substrings. First, we show an $O(mn)$ time algorithm for the problem which gives a…

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

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

Longest common subsequence ($\mathsf{LCS}$) is a classic and central problem in combinatorial optimization. While $\mathsf{LCS}$ admits a quadratic time solution, recent evidence suggests that solving the problem may be impossible in truly…

数据结构与算法 · 计算机科学 2021-11-23 Aviad Rubinstein , Saeed Seddighin , Zhao Song , Xiaorui Sun

The recently introduced longest common substring with $k$-mismatches ($k$-LCF) problem is to find, given two sequences $S_1$ and $S_2$ of length $n$ each, a longest substring $A_1$ of $S_1$ and $A_2$ of $S_2$ such that the Hamming distance…

数据结构与算法 · 计算机科学 2014-10-15 Szymon Grabowski

We provide a deterministic algorithm that outputs an $O(n^{3/4} \log n)$-approximation for the Longest Common Subsequence (LCS) of two input sequences of length $n$ in near-linear time. This is the first deterministic approximation…

数据结构与算法 · 计算机科学 2025-07-31 Itai Boneh , Shay Golan , Matan Kraus

The Longest Common Subsequence (LCS) is a fundamental string similarity measure, and computing the LCS of two strings is a classic algorithms question. A textbook dynamic programming algorithm gives an exact algorithm in quadratic time, and…

数据结构与算法 · 计算机科学 2023-02-13 Xiaoyu He , Ray Li

The Longest Common Increasing Subsequence problem (LCIS) is a natural variant of the celebrated Longest Common Subsequence (LCS) problem. For LCIS, as well as for LCS, there is an $O(n^2)$-time algorithm and a SETH-based conditional lower…

数据结构与算法 · 计算机科学 2020-01-31 Lech Duraj

We revisit the classic combinatorial pattern matching problem of finding a longest common subsequence (LCS). For strings $x$ and $y$ of length $n$, a textbook algorithm solves LCS in time $O(n^2)$, but although much effort has been spent,…

计算复杂性 · 计算机科学 2018-03-05 Karl Bringmann , Marvin Künnemann

In this paper, we revisit the much studied LCS problem for two given sequences. Based on the algorithm of Iliopoulos and Rahman for solving the LCS problem, we have suggested 3 new improved algorithms. We first reformulate the problem in a…

数据结构与算法 · 计算机科学 2015-08-25 Daxin Zhu , Lei Wang , Yingjie Wu , Xiaodong Wang

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

Calculating the length of a longest common subsequence (LCS) of two strings $A$ and $B$ of length $n$ and $m$ is a classic research topic, with many worst-case oriented results known. We present two algorithms for LCS length calculation…

数据结构与算法 · 计算机科学 2014-05-22 Szymon Grabowski
‹ 上一页 1 2 3 10 下一页 ›