The merged longest common increasing subsequence problem

The merged longest common increasing subsequence (MLCIS) problem represents a generalized variant by combining the merged longest common subsequence (merged LCS, MLCS) problem and the longest increasing subsequence (LIS) problem. Given a pair of numeric sequences A and B along with a target numeric sequence T , the MLCIS problem aims to identify the longest common subsequence that is increasing in both the merged sequence E ( A , B ) and the target sequence T . Here, E ( A , B ) represents a new sequence constructed from arbitrarily merging A and B while maintaining their original orders. In this paper, we propose two algorithms for solving the MLCIS problem: dynamic programming and diagonal. The dynamic programming algorithm has a time complexity of O( mnr ), where m , n and r denote the lengths of sequences A , B and T , respectively. The time complexity of the diagonal algorithm is O( ( L + 1 ) ( r − L + 1 ) ( m + n ) ), where L denotes the length of the MLCIS answer. In general, as the experimental results show, the diagonal algorithm is more efficient than the dynamic programming algorithm in practice. Furthermore, the diagonal algorithm is very efficient when L is either very small or L is close to r , which coincides with the theoretical time complexity. • This paper defines the merged longest common increasing subsequence (MLCIS) problem. • The MLCIS problem is a combined generalization of the merged LCS and the longest increasing subsequence (LIS) problems. • We solve the problem with two approaches: dynamic programming and diagonal methods. • In the diagonal method, the number of elements in a cell is bounded by the maximal cardinality in the upper-left triangle. • The diagonal method is very efficient when the answer length is either very small or close to the target sequence length.

Authors

Institutions

Publication Details

Journal
Theoretical Computer Science
Published
2025-04-24
DOI
https://doi.org/10.1016/j.tcs.2025.115269
Primary Topic
Algorithms and Data Compression
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The merged longest common increasing subsequence problem

Chang‐Biau Yang, C. A. Lee, Kuo-Si Huang
Theoretical Computer Science
Algorithms and Data Compression
article

The merged longest common increasing subsequence problem

Chang‐Biau Yang, C. A. Lee, Kuo-Si Huang
article en

Abstract

The merged longest common increasing subsequence (MLCIS) problem represents a generalized variant by combining the merged longest common subsequence (merged LCS, MLCS) problem and the longest increasing subsequence (LIS) problem. Given a pair of numeric sequences A and B along with a target numeric sequence T , the MLCIS problem aims to identify the longest common subsequence that is increasing in both the merged sequence E ( A , B ) and the target sequence T . Here, E ( A , B ) represents a new sequence constructed from arbitrarily merging A and B while maintaining their original orders. In this paper, we propose two algorithms for solving the MLCIS problem: dynamic programming and diagonal. The dynamic programming algorithm has a time complexity of O( mnr ), where m , n and r denote the lengths of sequences A , B and T , respectively. The time complexity of the diagonal algorithm is O( ( L + 1 ) ( r − L + 1 ) ( m + n ) ), where L denotes the length of the MLCIS answer. In general, as the experimental results show, the diagonal algorithm is more efficient than the dynamic programming algorithm in practice. Furthermore, the diagonal algorithm is very efficient when L is either very small or L is close to r , which coincides with the theoretical time complexity. • This paper defines the merged longest common increasing subsequence (MLCIS) problem. • The MLCIS problem is a combined generalization of the merged LCS and the longest increasing subsequence (LIS) problems. • We solve the problem with two approaches: dynamic programming and diagonal methods. • In the diagonal method, the number of elements in a cell is bounded by the maximal cardinality in the upper-left triangle. • The diagonal method is very efficient when the answer length is either very small or close to the target sequence length.

Theoretical Computer ScienceVol. 1044
National Sun Yat-sen University (TW), National Kaohsiung University of Science and Technology (TW)
Openalex Percentile: Top 96%
Algorithms and Data Compression
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.