vix.ing · top · new · best · stats · spec

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

2021/10/03 by Stanley P. Y. Fung, Fung, Stanley P. Y. · 15 voices
#cs.DS

paper · pdf · doi:10.48550/arxiv.2110.01111

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.

Discussions

Related