错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

The Merged Longest Common Increasing Subsequence Problem

  • Chien-Ting Lee,
  • Chang-Biau Yang,
  • Kuo-Si Huang

摘要

In this paper, we first define the merged longest common increasing subsequence (MLCIS) problem, a composite variant combining the longest common subsequence (LCS) problem and longest increasing subsequence (LIS) problem. Given a pair of sequences A and B, along with a target sequence T, the goal of the MLCIS problem is to find the subsequence with the maximal length that is both common and increasing in both E(A, B) and T. Here, E(A, B) denotes any new sequence obtained by arbitrarily merging A and B while preserving their original orders. We propose a dynamic programming algorithm for solving the MLCIS problem. The time complexity of our algorithm is O(mnr), where m, n and r represent the lengths of sequences A, B and T, respectively.