首页    期刊浏览 2024年07月19日 星期五
登录注册

文章基本信息

  • 标题:Space-Efficient Algorithms for Longest Increasing Subsequence
  • 作者:Masashi Kiyomi ; Hirotaka Ono ; Yota Otachi
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2018
  • 卷号:96
  • 页码:44:1-44:15
  • DOI:10.4230/LIPIcs.STACS.2018.44
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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 sqrt(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.
  • 关键词:longest increasing subsequence; patience sorting; space-efficient algorithm
Loading...
联系我们|关于我们|网站声明
国家哲学社会科学文献中心版权所有