Space-Efficient Algorithms for Longest Increasing Subsequence

12/26/2017
by   Masashi Kiyomi, et al.
0

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 n) time and space. Our goal in this paper is to reduce the space consumption while keeping the time complexity small. For √(n)< s < n, we present algorithms that use O(s n) bits and O(1/s· n^2· n) time for computing the length of a longest increasing subsequence, and O(1/s· n^2·^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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/28/2020

Fast and Work-Optimal Parallel Algorithms for Predicate Detection

Recently, the predicate detection problem was shown to be in the paralle...
research
07/25/2019

Enumerating Range Modes

We consider the range mode problem where given a sequence and a query ra...
research
07/31/2018

Efficient Computation of Sequence Mappability

Sequence mappability is an important task in genome re-sequencing. In th...
research
11/04/2021

An Empirical Comparison of the Quadratic Sieve Factoring Algorithm and the Pollard Rho Factoring Algorithm

One of the most significant challenges on cryptography today is the prob...
research
05/06/2023

TASTY: A Transformer based Approach to Space and Time complexity

Code based Language Models (LMs) have shown very promising results in th...
research
06/19/2019

Space Efficient Algorithms for Breadth-Depth Search

Continuing the recent trend, in this article we design several space-eff...
research
07/13/2020

Strengthening neighbourhood substitution

Domain reduction is an essential tool for solving the constraint satisfa...

Please sign up or login with your details

Forgot password? Click here to reset