For a permutation , a sequence $f: {1,2,\cdots, n}\rightarrow \mathbb R\piK$, if there is a sequence of indices (), satisfying that if , for . Otherwise, is referred to as -free. For the special case where $\pi = (1,2,\cdots, K)$, it is referred to as the monotone pattern. \cite{newman2017testing} initiated the study of testing -freeness with one-sided error. They focused on two specific problems, testing the monotone permutations and the permutation. For the problem of testing monotone permutation , \cite{ben2019finding} improved the $(\log n)^{O(K^2)}O((\log n)^{\lfloor \log_{2} K\rfloor})$. Further, \cite{ben2019optimal} proposed an adaptive algorithm with query complexity. However, no progress has yet been made on the problem of testing -freeness. In this work, we present an adaptive algorithm for testing -freeness. The query complexity of our algorithm is , which significantly improves over the -query adaptive algorithm of \cite{newman2017testing}. This improvement is mainly achieved by the proposal of a new structure embedded in the patterns.

生成讲解博客的中文版本

生成AI智能校验的中文版本