Space-Efficient Algorithms for Longest Increasing Subsequence

被引:2
|
作者
Kiyomi, Masashi [1 ]
Ono, Hirotaka [2 ]
Otachi, Yota [3 ]
Schweitzer, Pascal [4 ]
Tarui, Jun [5 ]
机构
[1] Yokohama City Univ, Yokohama, Kanagawa, Japan
[2] Nagoya Univ, Nagoya, Aichi, Japan
[3] Kumamoto Univ, Kumamoto, Japan
[4] TU Kaiserslautern, Kaiserslautern, Germany
[5] Univ Electrocommun, Chofu, Tokyo, Japan
关键词
Longest Increasing Subsequence; Patience Sorting; Space-efficient Algorithm; TRADE-OFFS; LENGTH; BOUNDS;
D O I
10.4230/LIPIcs.STACS.2018.44
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Given a sequence of integers, we want to find a longest increasing subsequence of the sequence. It is known that this problem can be solved in O(n log n) time and space. Our goal in this paper is to reduce the space consumption while keeping the time complexity small. For root n <= s <= n, we present algorithms that use O(s log n) bits and O(1/s . n(2) . log n) time for computing the length of a longest increasing subsequence, and O(1/s . n(2) . log(2) n) time for finding an actual subsequence. We also show that the time complexity of our algorithms is optimal up to polylogarithmic factors in the framework of sequential access algorithms with the prescribed amount of space.
引用
收藏
页数:15
相关论文
共 50 条