Papers
Topics
Authors
Recent
Search
2000 character limit reached

Improved Online Sorting

Published 20 Aug 2025 in cs.DS | (2508.14361v1)

Abstract: We study the online sorting problem, where $n$ real numbers arrive in an online fashion, and the algorithm must immediately place each number into an array of size $(1+\varepsilon) n$ before seeing the next number. After all $n$ numbers are placed into the array, the cost is defined as the sum over the absolute differences of all $n-1$ pairs of adjacent numbers in the array, ignoring empty array cells. Aamand, Abrahamsen, Beretta, and Kleist introduced the problem and obtained a deterministic algorithm with cost $2{O\left(\sqrt{\log n \cdot\log\log n +\log \varepsilon{-1}}\right)}$, and a lower bound of $\Omega(\log n / \log\log n)$ for deterministic algorithms. We obtain a deterministic algorithm with quasi-polylogarithmic cost $\left(\varepsilon{-1}\log n\right){O\left(\log \log n\right)}$. Concurrent and independent work by Azar, Panigrahi, and Vardi achieves polylogarithmic cost $O(\varepsilon{-1}\log2 n)$.

Authors (2)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.