Lune

FOCS2024Top-tier venue

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 permutationπ\piin linear time, even ifπ\piis a priori unkown. Moreover, the dependence of the multiplicative constant on the patternπ\pimatches 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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 62b742ea-aea4-43a7-9134-9f661608a149

Cited by top-tier papers2

Ask how each one uses it

Builds on5

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines