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 kk least numbers in one of the lists. We first solve the problem in O(klog⁡(n))O(k\log (n)) time for queries and O(log⁡(n))O(\log (n)) time for updates using the tournament tree data structure, where nn is the number of elements in the lists. We then introduce a layered tournament tree data structure and solve the same problem in O(log⁡φ∗(n)klog⁡(k))O(\log_φ^* (n) k\log (k)) time for queries and O(log⁡(n)⋅log⁡2log⁡(n))O\left(\log (n)\cdot\log^2\log (n)\right) for updates, where φφ is the golden ratio and log⁡φ∗(n)\log_φ^*(n) is the iterated logarithmic function with base φφ.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.