Abstract
As a kind of converse of the celebrated Erdos-Szekeres theorem, we present a necessary and sufficient condition for a sequence of length n to contain a longest increasing subsequence and a longest decreasing subsequence of given lengths x and y, respectively.
Original language | English |
---|---|
Article number | 237 |
Journal | Algorithms |
Volume | 12 |
Issue number | 11 |
DOIs | |
State | Published - 1 Nov 2019 |
Externally published | Yes |
Bibliographical note
Publisher Copyright:© 2019 by the authors.
Keywords
- Erdos-Szekeres theorem
- Longest decreasing sequence
- Longest increasing sequence