An Optimal Algorithm for Sorting Pattern-Avoiding Sequences
Michal Opler
2024Year
1Citations
2Top-tier citations
Abstract
We present a deterministic comparison-based algorithm that sorts sequences avoiding a fixed permutationin linear time, even ifis a priori unkown. Moreover, the dependence of the multiplicative constant on the patternmatches the information-theoretic lower bound. A crucial ingredient is an algorithm for performing efficient multi-way merge based on the Marcus-Tardos theorem. As a direct corollary, we obtain a linear-time algorithm for sorting permutations of bounded twin-width.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 62b742ea-aea4-43a7-9134-9f661608a149Cited by top-tier papers2
- Optimization with Pattern-Avoiding InputBenjamin Aram Berendsohn, László Kozma, Michal OplerSTOC 2024 · 1 citation
- Approximate Counting of Permutation PatternsOmri Ben-Eliezer, Slobodan Mitrovic, Pranjal SrivastavaSODA 2026
Builds on5
- Twin-width I: tractable FO model checkingÉdouard Bonnet, Eun Jung Kim, Stéphan Thomassé, Rémi WatrigantFOCS 2020 · 82 citations
- Improved Pattern-Avoidance Bounds for Greedy BSTs via Matrix DecompositionParinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Nidia Obscura Acosta et al.SODA 2023 · 4 citations
- Sorting Pattern-Avoiding Permutations via 0-1 Matrices Forbidding Product PatternsParinya Chalermsook, Seth Pettie, Sorrachai YingchareonthawornchaiSODA 2024 · 4 citations
- Factoring Pattern-Free Permutations into Separable onesEdouard Bonnet, Romain Bourneuf, Colin Geniet, Stéphan ThomasséSODA 2024 · 2 citations
- Optimization with Pattern-Avoiding InputBenjamin Aram Berendsohn, László Kozma, Michal OplerSTOC 2024 · 1 citation
Related papers
- Fast and Simple Sorting Using Partial InformationBernhard Haeupler, Richard Hladík, John Iacono, Václav Rozhon et al.SODA 2025 · 3 citations
- Adaptive Shivers Sort: An Alternative Sorting AlgorithmVincent JugéSODA 2020 · 9 citations
- Stochastic and Worst-Case Generalized Sorting RevisitedWilliam Kuszmaul, Shyam NarayananFOCS 2021 · 2 citations
- Upper Bound on Information-Theoretic Security of Permutation-Based Pseudorandom FunctionsChun Guo, Jian Guo, Xinnian Li, Wenjie NanEUROCRYPT 2026
- OptORAMa: Optimal Oblivious RAMGilad Asharov, Ilan Komargodski, Wei-Kai Lin, Kartik Nayak et al.EUROCRYPT 2020 · 92 citations
