English

Optimal Adaptive Detection of Monotone Patterns

Data Structures and Algorithms 2019-11-05 v1 Discrete Mathematics Combinatorics

Abstract

We investigate adaptive sublinear algorithms for detecting monotone patterns in an array. Given fixed 2kN2 \leq k \in \mathbb{N} and ε>0\varepsilon > 0, consider the problem of finding a length-kk increasing subsequence in an array f ⁣:[n]Rf \colon [n] \to \mathbb{R}, provided that ff is ε\varepsilon-far from free of such subsequences. Recently, it was shown that the non-adaptive query complexity of the above task is Θ((logn)log2k)\Theta((\log n)^{\lfloor \log_2 k \rfloor}). In this work, we break the non-adaptive lower bound, presenting an adaptive algorithm for this problem which makes O(logn)O(\log n) queries. This is optimal, matching the classical Ω(logn)\Omega(\log n) adaptive lower bound by Fischer [2004] for monotonicity testing (which corresponds to the case k=2k=2), and implying in particular that the query complexity of testing whether the longest increasing subsequence (LIS) has constant length is Θ(logn)\Theta(\log n).

Keywords

Cite

@article{arxiv.1911.01169,
  title  = {Optimal Adaptive Detection of Monotone Patterns},
  author = {Omri Ben-Eliezer and Shoham Letzter and Erik Waingarten},
  journal= {arXiv preprint arXiv:1911.01169},
  year   = {2019}
}
R2 v1 2026-06-23T12:03:56.814Z