Space-Efficient Algorithms for Longest Increasing Subsequence

被引:0
|
作者
Masashi Kiyomi
Hirotaka Ono
Yota Otachi
Pascal Schweitzer
Jun Tarui
机构
[1] Yokohama City University,
[2] Nagoya University,undefined
[3] Kumamoto University,undefined
[4] TU Kaiserslautern,undefined
[5] The University of Electro-Communications,undefined
来源
关键词
Longest increasing subsequence; Patience sorting; Space-efficient algorithm;
D O I
暂无
中图分类号
学科分类号
摘要
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 Onlogn\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O\left (n \log n\right )$\end{document} time and space. Our goal in this paper is to reduce the space consumption while keeping the time complexity small. For n≤s≤n\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$\sqrt {n} \le s \le n$\end{document}, we present algorithms that use Oslogn\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O\left (s \log n\right )$\end{document} bits and O1s⋅n2⋅logn\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O\left (\frac {1}{s} \cdot n^{2} \cdot \log n\right )$\end{document} time for computing the length of a longest increasing subsequence, and O1s⋅n2⋅log2n\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$O\left (\frac {1}{s} \cdot n^{2} \cdot \log ^{2} n\right )$\end{document} 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.
引用
收藏
页码:522 / 541
页数:19
相关论文
共 50 条
  • [41] Algorithms for computing the longest parameterized common subsequence
    Iliopoulos, Costas S.
    Kubica, Marcin
    Rahman, M. Sohel
    Walen, Tomasz
    [J]. COMBINATORIAL PATTERN MATCHING, PROCEEDINGS, 2007, 4580 : 265 - +
  • [42] A space efficient algorithm for the longest common subsequence in k-length substrings
    Zhu, Daxin
    Wang, Lei
    Wang, Tinran
    Wang, Xiaodong
    [J]. THEORETICAL COMPUTER SCIENCE, 2017, 687 : 79 - 92
  • [43] Minimum Height and Sequence Constrained Longest Increasing Subsequence
    Tseng, Chiou-Ting
    Yang, Chang-Biau
    Ann, Hsing-Yen
    [J]. JOURNAL OF INTERNET TECHNOLOGY, 2009, 10 (02): : 173 - 178
  • [44] Longest Increasing Subsequence under Persistent Comparison Errors
    Geissmann, Barbara
    [J]. THEORY OF COMPUTING SYSTEMS, 2020, 64 (04) : 662 - 680
  • [45] Space-efficient parallel algorithms for combinatorial search problems
    Pietracaprina, A.
    Pucci, G.
    Silvestri, F.
    Vandin, F.
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2015, 76 : 58 - 65
  • [46] Longest Increasing Subsequence Computation over Streaming Sequences
    Li, Youhuan
    Zou, Lei
    Zhang, Huaming
    Zhao, Dongyan
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2018, 30 (06) : 1036 - 1049
  • [47] On the distribution of the length of the longest increasing subsequence of random permutations
    Baik, J
    Deift, P
    Johansson, K
    [J]. JOURNAL OF THE AMERICAN MATHEMATICAL SOCIETY, 1999, 12 (04) : 1119 - 1178
  • [48] A fast algorithm for computing a longest common increasing subsequence
    Yang, IH
    Huang, CP
    Chao, KM
    [J]. INFORMATION PROCESSING LETTERS, 2005, 93 (05) : 249 - 253
  • [49] Estimating the Longest Increasing Subsequence in Nearly Optimal Time
    Andoni, Alexandr
    Nosatzki, Negev Shekel
    Sinha, Sandip
    Stein, Clifford
    [J]. 2022 IEEE 63RD ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2022, : 708 - 719
  • [50] Space-Efficient Randomized Algorithms for K-SUM
    Wang, Joshua R.
    [J]. ALGORITHMS - ESA 2014, 2014, 8737 : 810 - 829