A Faster Subquadratic Algorithm for the Longest Common Increasing Subsequence Problem

03/30/2020
by   Anadi Agrawal, et al.
0

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" technique can be used to find LCS in subquadratic time, it does not seem applicable to LCIS. Recently, Duraj [STACS 2020] used a completely different method based on the combinatorial properties of LCIS to design an O(n^2(loglog n)^2/log^1/6n) time algorithm. We show that an approach based on exploiting tabulation can be used to construct an asymptotically faster O(n^2 loglog n/√(log n)) time algorithm. As our solution avoids using the specific combinatorial properties of LCIS, it can be also adapted for the Longest Common Weakly Increasing Subsequence (LCWIS).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/18/2020

Longest Common Subsequence in Sublinear Space

We present the first o(n)-space polynomial-time algorithm for computing ...
research
02/19/2019

A sub-quadratic algorithm for the longest common increasing subsequence problem

The Longest Common Increasing Subsequence problem (LCIS) is a natural va...
research
01/16/2020

Faster STR-EC-LCS Computation

The longest common subsequence (LCS) problem is a central problem in str...
research
01/11/2021

Strictly In-Place Algorithms for Permuting and Inverting Permutations

We revisit the problem of permuting an array of length n according to a ...
research
07/15/2020

On the parameterized complexity of the Minimum Path Cover problem in DAGs

A minimum path cover (MPC) of a directed acyclic graph (DAG) G = (V,E) i...
research
03/01/2021

A Simple Algorithm for Optimal Search Trees with Two-Way Comparisons

We present a simple O(n^4)-time algorithm for computing optimal search t...

Please sign up or login with your details

Forgot password? Click here to reset