Lune

SODA2026顶会

Nearly Tight Bounds for the Online Sorting Problem

Yossi Azar, Debmalya Panigrahi, Or Vardi

摘要

In the online sorting problem, a sequence of n numbers in [0, 1] (including 0, 1) have to be inserted in an array of size m ≥ n so as to minimize the sum of absolute differences between pairs of numbers occupying consecutive non-empty cells. Previously, Aamand et al. (SODA 2023) gave a deterministic 2 √ log n √ log log n+log(1/ε) -competitive algorithm when m = (1 + ε)n for any ε ≥ Ω(log n/n). They also showed a lower bound: with m = γn space, the competitive ratio of any deterministic algorithm is at least 1 /γ • Ω(log n/ log log n). This left an exponential gap between the upper and lower bounds for the problem.

In this paper, we bridge this exponential gap and almost completely resolve the online sorting problem. First, we give a deterministic O(log 2 n/ε)-competitive algorithm with m = (1 + ε)n, for any ε ≥ Ω(log n/n). Next, for m = γn where γ = [O(1), O(log 2 n)], we give a deterministic O(log 2 n/γ)-competitive algorithm. In particular, this implies an O(1)-competitive algorithm with O(n log 2 n) space, which is within an O(log n•log log n) factor of the lower bound of Ω(n log n/ log log n). Combined, the two results imply a close to optimal tradeoff between space and competitive ratio for the entire range of interest: specifically, an upper bound of O(log 2 n) on the product of the competitive ratio and γ while the lower bound on this product is Ω(log n/ log log n). We also show that these results can be extended to the case when the range of the numbers is not known in advance, for an additional O(log n) factor in the competitive ratio.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Nearly Optimal Bounds for Stochastic Online Sorting 引用了 Online Sorting and Translational Packing of Convex Polygons
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper2

  1. Online Sorting and Translational Packing of Convex PolygonsAnders Aamand, Mikkel Abrahamsen, Lorenzo Beretta, Linda KleistSODA 2023 · 4 次引用
  2. Nearly Optimal Bounds for Stochastic Online SortingYang HuSODA 2026

相关 Paper

  1. A Deterministic Polylogarithmic Competitive Algorithm for Matching with DelaysMarc Dufay, Roger WattenhoferSODA 2026
  2. Improved and Deterministic Online Service with Deadlines or DelayNoam TouitouSTOC 2023 · 4 次引用
  3. Deterministic Online Bipartite Edge ColoringJoakim Blikstad, Ola Svensson, Radu Vintan, David WajcSODA 2025 · 3 次引用
  4. Tight Bounds for Online Graph PartitioningMonika Henzinger, Stefan Neumann, Harald Räcke, Stefan SchmidSODA 2021 · 12 次引用
  5. Online Algorithms for the Santa Claus ProblemMax Springer, MohammadTaghi Hajiaghayi, Debmalya Panigrahi, Mohammad Reza KhaniNeurIPS 2022 · 16 次引用
黄昏的海面,两侧是细线勾勒的悬崖