Optimally Sorting Evolving Data
Juan Jose Besa, William E. Devanny, David Eppstein, Michael T., Goodrich, Timothy Johnson

TL;DR
This paper introduces optimal algorithms for maintaining an approximate sorted order in evolving data, demonstrating that a simple insertion sort approach is asymptotically optimal in a dynamic comparison model.
Contribution
The paper proves that a repeated insertion sort algorithm maintains an optimal O(n) Kendall tau distance in an evolving data setting, closing the gap with the theoretical lower bound.
Findings
Insertion sort maintains O(n) Kendall tau distance with high probability.
The result is asymptotically optimal, matching the Omega(n) lower bound.
Insertion sort outperforms quicksort in this evolving data model.
Abstract
We give optimal sorting algorithms in the evolving data framework, where an algorithm's input data is changing while the algorithm is executing. In this framework, instead of producing a final output, an algorithm attempts to maintain an output close to the correct output for the current state of the data, repeatedly updating its best estimate of a correct output over time. We show that a simple repeated insertion-sort algorithm can maintain an O(n) Kendall tau distance, with high probability, between a maintained list and an underlying total order of n items in an evolving data model where each comparison is followed by a swap between a random consecutive pair of items in the underlying total order. This result is asymptotically optpimal, since there is an Omega(n) lower bound for Kendall tau distance for this problem. Our result closes the gap between this lower bound and the previous…
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.
