Dynamic Partial Sorting
Abstract
The dynamic partial sorting problem asks for an algorithm that maintains lists of numbers under the link, cut and change value operations, and queries the sorted sequence of the k least numbers in one of the lists. We first solve the problem in O(k (n)) time for queries and O( (n)) time for updates using the tournament tree data structure, where n is the number of elements in the lists. We then introduce a layered tournament tree data structure and solve the same problem in O(* (n) k (k)) time for queries and O( (n)·2 (n)) for updates, where is the golden ratio and *(n) is the iterated logarithmic function with base .
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.