Space-Efficient Algorithms for Longest Increasing Subsequence
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 n ≤ s ≤ n , we present algor...
Saved in:
| Published in: | Theory of computing systems Vol. 64; no. 3; pp. 522 - 541 |
|---|---|
| Main Authors: | , , , , |
| Format: | Journal Article |
| Language: | English |
| Published: |
New York
Springer US
01.04.2020
Springer Nature B.V |
| Subjects: | |
| ISSN: | 1432-4350, 1433-0490 |
| Online Access: | Get full text |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| Summary: | 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
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. |
|---|---|
| Bibliography: | ObjectType-Article-1 SourceType-Scholarly Journals-1 ObjectType-Feature-2 content type line 14 |
| ISSN: | 1432-4350 1433-0490 |
| DOI: | 10.1007/s00224-018-09908-6 |