The Merged Longest Common Increasing Subsequence Problem

被引:0
|
作者
Lee, Chien-Ting [1 ]
Yang, Chang-Biau [1 ]
Huang, Kuo-Si [2 ]
机构
[1] Natl Sun Yat Sen Univ, Dept Comp Sci & Engn, Kaohsiung, Taiwan
[2] Natl Kaohsiung Univ Sci & Technol, Dept Business Comp, Kaohsiung, Taiwan
来源
RECENT CHALLENGES IN INTELLIGENT INFORMATION AND DATABASE SYSTEMS, ACIIDS 2024, PT I | 2024年 / 2144卷
关键词
longest increasing subsequence; merged longest common subsequence; merged longest common increasing subsequence; dynamic programming; LINEAR-SPACE ALGORITHM; EFFICIENT ALGORITHMS;
D O I
10.1007/978-981-97-5937-8_17
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:202 / 212
页数:11
相关论文
共 50 条