The Geometry of Tree-Based Sorting
Guy Blelloch, Magdalen Dobson

TL;DR
This paper establishes a formal connection between sorting algorithms and binary search tree models, introducing the geometric interpretation and a new complexity measure called the log-interleave bound, with implications for parallel sorting efficiency.
Contribution
It demonstrates that many sorting algorithms are equivalent in cost to offline BST algorithms and introduces the log-interleave bound as a new measure of permutation complexity.
Findings
Log-interleave bound closely approximates BST lower bounds.
Parallel sorting algorithm with polylogarithmic span based on log-interleave.
Existence of offline BST algorithms near the log-interleave bound for any permutation.
Abstract
We study the connections between sorting and the binary search tree (BST) model, with an aim towards showing that the fields are connected more deeply than is currently appreciated. While any BST can be used to sort by inserting the keys one-by-one, this is a very limited relationship and importantly says nothing about parallel sorting. We show what we believe to be the first formal relationship between the BST model and sorting. Namely, we show that a large class of sorting algorithms, which includes mergesort, quicksort, insertion sort, and almost every instance-optimal sorting algorithm, are equivalent in cost to offline BST algorithms. Our main theoretical tool is the geometric interpretation of the BST model introduced by Demaine et al., which finds an equivalence between searches on a BST and point sets in the plane satisfying a certain property. To give an example of the utility…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
