首页 / 资料库 / 文献详情

Minimum Height and Sequence Constrained Longest Increasing Subsequence

Chiou-Ting TsengChang‐Biau YangHsing-Yen Ann

2009Computer Science被引 8

出版方页面 →

摘要

Given a string S = a 1a 2a 3...a n, the longest increasing subsequence (LIS) problem is to find a subsequence of S such that the subsequence is increasing and its length is maximum. In this paper, we propose and solve two variants of the LIS problem. The first one is the minimum height LIS where the height means the difference between the largest and smallest elements. We propose an algorithm with O(n log n) time and O(n) space for solving it. The second one is the sequence constrained LIS (SCLIS) that given a string S and a constraint C, we are to find the LIS of S containing C as its subsequence. We propose an algorithm with O(n log(n+|C|)) time for solving it. And then we solve the SCLIS with preprocessing. We propose a preprocessing algorithm with O(n 2 log log n) time on S so that with a given sequence of positions, we can answer the SCLIS query in O(|C|+|OUTPUT |) time where the constraint is the subsequence on the given positions of S.

引用本文(GB/T 7714)

Chiou-Ting Tseng, Chang‐Biau Yang, Hsing-Yen Ann. Minimum Height and Sequence Constrained Longest Increasing Subsequence[J]. 未知来源, 2009.

引文网络

参考文献与被引分析加载中…

DOI:https://doi.org/10.6138/jit.2009.10.2.11

本站仅收录题录与摘要供学习参考,全文版权归属出版方;如有侵权请联系我们删除。