Abstract

For a permutation π:[K]→[K], a sequence f:{1,2,⋯,n}→R contains a π-pattern of size K, if there is a sequence of indices (i1,i2,⋯,iK) (i1<i2<⋯<iK), satisfying that f(ia)<f(ib) if π(a)<π(b), for a,b∈[K]. Otherwise, f is referred to as π-free. For the special case where π=(1,2,⋯,K), it is referred to as the monotone pattern. [1] initiated the study of testing π-freeness with one-sided error. They focused on two specific problems, testing the monotone permutations and the (1,3,2) permutation. For the problem of testing monotone permutation (1,2,⋯,K), [2] improved the (log⁡n)O(K2) non-adaptive query complexity of [1] to O((log⁡n)⌊log2⁡K⌋). Further, [3] proposed an adaptive algorithm with O(log⁡n) query complexity. However, no progress has yet been made on the problem of testing (1,3,2)-freeness. In this work, we present an adaptive algorithm for testing (1,3,2)-freeness. The query complexity of our algorithm is O(ϵ−2log4⁡n), which significantly improves over the O(ϵ−7log26⁡n)-query adaptive algorithm of [1]. This improvement is mainly achieved by the proposal of a new structure embedded in the patterns.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.