In 1972, Fredman proposes the problem of sorting under partial information: preprocess a directed acyclic graph with vertex set so that you can sort in time, where is the number of sorted orders compatible with . Cardinal, Fiorini, Joret, Jungers and Munro [STOC’10] show that you can preprocess in time and then sort in time and comparisons. Recent work of van der Hoog and Rutschmann [FOCS’24] implies an algorithm with preprocessing time where and sorting time. Haeupler, Hladík, Iacono, Rozhoň, Tarjan and Tětek [SODA’25] achieve an overall running time of . In this paper, we achieve tight bounds for this problem: preprocessing time and sorting time. As a key ingredient, we design a new fast heap data structure that might be of independent theoretical interest.

生成讲解博客的中文版本

生成AI智能校验的中文版本