English

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

Data Structures and Algorithms 2026-04-15 v1

Abstract

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

Keywords

Cite

@article{arxiv.2604.12653,
  title  = {Sorting under Partial Information with Optimal Preprocessing Time via Unified Bound Heaps},
  author = {Daniel Rutschmann},
  journal= {arXiv preprint arXiv:2604.12653},
  year   = {2026}
}

Comments

Submitted to FOCS

R2 v1 2026-07-01T12:08:43.519Z