Strongly Sublinear Algorithms for Testing Pattern Freeness
Abstract
For a permutation , a function contains a -appearance if there exists such that for all , if and only if . The function is -free if it has no -appearances. In this paper, we investigate the problem of testing whether an input function is -free or whether differs on at least values from every -free function. This is a generalization of the well-studied monotonicity testing and was first studied by Newman, Rabinovich, Rajendraprasad and Sohler (Random Structures and Algorithms 2019). We show that for all constants , , and permutation , there is a one-sided error -testing algorithm for -freeness of functions that makes queries. We improve significantly upon the previous best upper bound by Ben-Eliezer and Canonne (SODA 2018). Our algorithm is adaptive, while the earlier best upper bound is known to be tight for nonadaptive algorithms.
Keywords
Cite
@article{arxiv.2106.04856,
title = {Strongly Sublinear Algorithms for Testing Pattern Freeness},
author = {Ilan Newman and Nithin Varma},
journal= {arXiv preprint arXiv:2106.04856},
year = {2024}
}
Comments
28 pages, 2 figures; We thank anonymous reviewers for comments that helped us significantly improve the presentation