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

3 Oct 2021  ·  Stanley P. Y. Fung ·

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.

PDF Abstract

Datasets


  Add Datasets introduced or used in this paper