Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product Patterns

被引:0
作者
Chalermsook, Parinya [1 ]
Pettie, Seth [2 ]
Yingchareonthawornchai, Sorrachai [1 ,3 ]
机构
[1] Aalto Univ, Espoo, Finland
[2] Univ Michigan, Ann Arbor, MI USA
[3] Univ Calif Berkeley, Simons Inst Theory Comp, Berkeley, CA USA
来源
PROCEEDINGS OF THE 2024 ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA | 2024年
基金
欧洲研究理事会;
关键词
DAVENPORT-SCHINZEL SEQUENCES; DYNAMIC FINGER CONJECTURE; SPLAY TREES; EXTREMAL-FUNCTIONS; SEARCH TREE; STACKS; NONLINEARITY; NETWORKS; BOUNDS;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the problem of comparison-sorting an n-permutation S that avoids some k-permutation pi. Chalermsook, Goswami, Kozma, Mehlhorn, and Saranurak [CGK(+) 15b] prove that when S is sorted by inserting the elements into the GreedyFuture [DHI+ 09] binary search tree, the running time is linear in the extremal function Exp(P-pi circle times (sic), n). This is the maximum number of 1s in an n x n 0-1 matrix avoiding P pi circle times (sic) , where P-pi is the k x k permutation matrix of pi, and P-pi circle times (sic) is the 2k x 3k Kronecker product of P-pi and the "hat" pattern (sic). The same time bound can be achieved by sorting S with Kozma and Saranurak's SMOOTHHEAP [KS20]. Applying off-the-shelf results on the extremal functions of 0-1 matrices, it was known that Ex(P-pi circle times (sic), n) = {Omega (n alpha(n)), O((n center dot 2((alpha(n))3k/2 O(1))), where alpha(n) is the inverse-Ackermann function. In this paper we give nearly tight upper and lower bounds on the density of P-pi circle times (sic)- free matrices in terms of "n", and improve the dependence on "k" from doubly exponential to singly exponential. Ex(P-pi circle times (sic), n) = {Omega (n center dot 2(alpha(n))), for most pi O((n center dot 2(O(k2)+(1+0(1))alpha(n))), for all pi. As a consequence, sorting pi-free sequences can be performed in O(n2((1+o(1))alpha(n)) ) time. For many corollaries of the dynamic optimality conjecture, the best analysis uses forbidden 0-1 matrix theory. Our analysis may be useful in analyzing other classes of access sequences on binary search trees.
引用
收藏
页码:133 / 149
页数:17
相关论文
共 62 条
[1]   SHARP UPPER AND LOWER BOUNDS ON THE LENGTH OF GENERAL DAVENPORT-SCHINZEL SEQUENCES [J].
AGARWAL, PK ;
SHARIR, M ;
SHOR, P .
JOURNAL OF COMBINATORIAL THEORY SERIES A, 1989, 52 (02) :228-274
[2]   Permutations sortable by two stacks in parallel and quarter plane walks [J].
Albert, Michael ;
Bousquet-Melou, Mireille .
EUROPEAN JOURNAL OF COMBINATORICS, 2015, 43 :131-164
[3]  
[Anonymous], 1973, Sorting and Searching
[4]  
Arthur D, 2007, SIAM PROC S, P169
[5]   Sorting with two ordered stacks in series [J].
Atkinson, MD ;
Murphy, MM ;
Ruskuc, N .
THEORETICAL COMPUTER SCIENCE, 2002, 289 (01) :205-223
[6]  
Berendsohn Benjamin Aram, 2023, CoRR, abs/2310.04236
[7]   Sorting with networks of data structures [J].
Biedl, Therese ;
Golynski, Alexander ;
Hamel, Angele M. ;
Lopez-Ortiz, Alejandro ;
Munro, J. Ian .
DISCRETE APPLIED MATHEMATICS, 2010, 158 (15) :1579-1586
[8]  
Bona M., 2022, COMBINATORICS PERMUT
[9]  
Bona M., 2002, Electron. J. Comb, V9
[10]  
Chalermsook Parinya, 2015, Algorithms and Data Structures. 14th International Symposium, WADS 2015. Proceedings, P152, DOI 10.1007/978-3-319-21840-3_13