English

Computing Longest Increasing Subsequence Over Sequential Data Streams

Data Structures and Algorithms 2016-10-12 v4

Abstract

In this paper, we propose a data structure, a quadruple neighbor list (QN-list, for short), to support real time queries of all longest increasing subsequence (LIS) and LIS with constraints over sequential data streams. The QN-List built by our algorithm requires O(w)O(w) space, where ww is the time window size. The running time for building the initial QN-List takes O(wlogw)O(w\log w) time. Applying the QN-List, insertion of the new item takes O(logw)O(\log w) time and deletion of the first item takes O(w)O(w) time. To the best of our knowledge, this is the first work to support both LIS enumeration and LIS with constraints computation by using a single uniform data structure for real time sequential data streams. Our method outperforms the state-of-the-art methods in both time and space cost, not only theoretically, but also empirically.

Keywords

Cite

@article{arxiv.1604.02552,
  title  = {Computing Longest Increasing Subsequence Over Sequential Data Streams},
  author = {Youhuan Li and Lei Zou and Huaming Zhang and Dongyan Zhao},
  journal= {arXiv preprint arXiv:1604.02552},
  year   = {2016}
}

Comments

20 pages (12+8)

R2 v1 2026-06-22T13:28:33.275Z