betaFeedback

WorksComputer Science

Sorting by block-reversals: closing the gap

Abstract

In block-reversal sorting an elementary operation is to reverse the order of a contiguous block in a sequence, at cost proportional to the length of the block. In SODA 2004, Bender, Ge, He, Hu, Pinter, Skiena, and Swidan showed that every sequence of length nn can be sorted at cost O(nlog⁡2n)O(n\log^2{n}) and some sequences can only be sorted at cost Ω(nlog⁡n)Ω(n\log{n}). In block-partition sorting, an elementary operation is to partition the sequence into contiguous blocks, and simultaneously reverse all blocks. The model was introduced in SODA 2024 by Jelínek, Opler, and Pekárek, who showed that every sequence can be sorted in O(log⁡2n)O(\log^2{n}) steps and some sequences require Ω(log⁡n)Ω(\log{n}) steps. We close both gaps, showing that the upper bounds are tight, and the log⁡2n\log^2{n} factors are unavoidable.

Paper details

vlnc:W_c4pv9c56
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
arXiv nonexclusive license
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

AI tools

View statement
Looking for related papers…