English

Is this the simplest (and most surprising) sorting algorithm ever?

Data Structures and Algorithms 2021-10-05 v1

Abstract

We present an extremely simple sorting algorithm. It may look like it is obviously wrong, but we prove that it is in fact correct. We compare it with other simple sorting algorithms, and analyse some of its curious properties.

Cite

@article{arxiv.2110.01111,
  title  = {Is this the simplest (and most surprising) sorting algorithm ever?},
  author = {Stanley P. Y. Fung},
  journal= {arXiv preprint arXiv:2110.01111},
  year   = {2021}
}

Comments

7 pages, 0 figures

R2 v1 2026-06-24T06:35:26.879Z