Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
429082 | Information Processing Letters | 2010 | 4 Pages |
Abstract
Given a sequence of n elements, we introduce the notion of an almost-increasing subsequence as the longest subsequence that can be converted to an increasing subsequence by possibly adding a value, that is at most a fixed constant, to each of the elements. We show how to optimally construct such subsequence in time, where k is the length of the output subsequence.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics