MCP
arXivarXiv
Preprint
Published: September 30, 2013
cs.DS
v4

The Dynamic Longest Increasing Subsequence Problem

Abstract
In this paper, we construct a data structure to efficiently compute the longest increasing subsequence of a sequence subject to dynamic updates. Our data structure supports a query for the longest increasing subsequence in O(r+log⁡n)O(r+\log n) worst-case time and supports inserts anywhere in the sequence in O(rlog⁡n/r)O \left(r\log{n/r}\right) worst-case time (where rr is the length of the longest increasing subsequence). The same data structure with a minor modification supports O(log⁡n)O(\log n) worst-case time insertions if the insertions are performed at the end of the sequence. The data structure presented can also be augmented to support delete operations in the same worst-case time as insertions.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first