A Faster Subquadratic Algorithm for the Longest Common Increasing Subsequence Problem

Abstract

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(n2( n)2/1/6n) time algorithm. We show that an approach based on exploiting tabulation can be used to construct an asymptotically faster O(n2 n/ 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).

0

Discussion (0)

Sign in to join the discussion.

Loading comments…