Sorting under Partial Information with Optimal Preprocessing Time via Unified Bound Heaps

Abstract

In 1972, Fredman proposes the problem of sorting under partial information: preprocess a directed acyclic graph G with vertex set X so that you can sort X in O( e(G)) time, where e(G) is the number of sorted orders compatible with G. Cardinal, Fiorini, Joret, Jungers and Munro [STOC'10] show that you can preprocess G in O(n2.5) time and then sort X in O( e(G) + n) time and O( e(G)) comparisons. Recent work of van der Hoog and Rutschmann [FOCS'24] implies an algorithm with O(nω) preprocessing time where ω < 2.372 and O( e(G)) sorting time. Haeupler, Hlad\'ik, Iacono, Rozhon, Tarjan and Tetek [SODA'25] achieve an overall running time of O( e(G) + m). In this paper, we achieve tight bounds for this problem: O(m) preprocessing time and O( e(G)) sorting time. As a key ingredient, we design a new fast heap data structure that might be of independent theoretical interest.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…