English

Sorting by Strip Swaps is NP-Hard

Data Structures and Algorithms 2025-11-04 v1 Artificial Intelligence Computational Complexity

Abstract

We show that \emph{Sorting by Strip Swaps} (SbSS) is NP-hard by a polynomial reduction of \emph{Block Sorting}. The key idea is a local gadget, a \emph{cage}, that replaces every decreasing adjacency (ai,ai+1)(a_i,a_{i+1}) by a guarded triple ai,mi,ai+1a_i,m_i,a_{i+1} enclosed by guards Li,UiL_i,U_i, so the only decreasing adjacencies are the two inside the cage. Small \emph{hinge} gadgets couple adjacent cages that share an element and enforce that a strip swap that removes exactly two adjacencies corresponds bijectively to a block move that removes exactly one decreasing adjacency in the source permutation. This yields a clean equivalence between exact SbSS schedules and perfect block schedules, establishing NP-hardness.

Cite

@article{arxiv.2511.00015,
  title  = {Sorting by Strip Swaps is NP-Hard},
  author = {Swapnoneel Roy and Asai Asaithambi and Debajyoti Mukhopadhyay},
  journal= {arXiv preprint arXiv:2511.00015},
  year   = {2025}
}

Comments

4 pages

R2 v1 2026-07-01T07:16:04.312Z