Score: 0

Sorting by Strip Swaps is NP-Hard

Published: October 20, 2025 | arXiv ID: 2511.00015v1

By: Swapnoneel Roy, Asai Asaithambi, Debajyoti Mukhopadhyay

Potential Business Impact:

Makes sorting computer data much harder.

Business Areas:
A/B Testing Data and Analytics

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 $(a_i,a_{i+1})$ by a guarded triple $a_i,m_i,a_{i+1}$ enclosed by guards $L_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.

Country of Origin
πŸ‡ΊπŸ‡Έ United States

Page Count
4 pages

Category
Computer Science:
Data Structures and Algorithms