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 条
  • [1] Space-Efficient Algorithms for Longest Increasing Subsequence
    Masashi Kiyomi
    Hirotaka Ono
    Yota Otachi
    Pascal Schweitzer
    Jun Tarui
    [J]. Theory of Computing Systems, 2020, 64 : 522 - 541
  • [2] Space-Efficient Algorithms for Longest Increasing Subsequence
    Kiyomi, Masashi
    Ono, Hirotaka
    Otachi, Yota
    Schweitzer, Pascal
    Tarui, Jun
    [J]. THEORY OF COMPUTING SYSTEMS, 2020, 64 (03) : 522 - 541
  • [3] Efficient algorithms for finding a longest common increasing subsequence
    Chan, WT
    Zhang, Y
    Fung, SPY
    Ye, DS
    Zhu, H
    [J]. ALGORITHMS AND COMPUTATION, 2005, 3827 : 665 - 674
  • [4] Efficient algorithms for finding a longest common increasing subsequence
    Wun-Tat Chan
    Yong Zhang
    Stanley P. Y. Fung
    Deshi Ye
    Hong Zhu
    [J]. Journal of Combinatorial Optimization, 2007, 13 : 277 - 288
  • [5] Efficient algorithms for finding a longest common increasing subsequence
    Chan, Wun-Tat
    Zhang, Yong
    Fung, Stanley P. Y.
    Ye, Deshi
    Zhu, Hong
    [J]. JOURNAL OF COMBINATORIAL OPTIMIZATION, 2007, 13 (03) : 277 - 288
  • [6] Improved Dynamic Algorithms for Longest Increasing Subsequence
    Kociumaka, Tomasz
    Seddighin, Saeed
    [J]. STOC '21: PROCEEDINGS OF THE 53RD ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING, 2021, : 640 - 653
  • [7] Nearly Optimal Parallel Algorithms for Longest Increasing Subsequence
    Cao, Nairen
    Huang, Shang-En
    Su, Hsin-Hao
    [J]. PROCEEDINGS OF THE 35TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, SPAA 2023, 2023, : 249 - 259
  • [8] The Longest Wave Subsequence Problem: Generalizations of the Longest Increasing Subsequence Problem
    Chen, Guan-Zhi
    Yang, Chang-Biau
    Chang, Yu-Cheng
    [J]. INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2024,
  • [9] A linear space algorithm for computing a longest common increasing subsequence
    Sakai, Yoshifumi
    [J]. INFORMATION PROCESSING LETTERS, 2006, 99 (05) : 203 - 207
  • [10] Space-efficient search algorithms
    Korf, RE
    [J]. ACM COMPUTING SURVEYS, 1995, 27 (03) : 337 - 339