Get the latest tech news

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


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.

View a PDF of the paper titled Is this the simplest (and most surprising) sorting algorithm ever?, by Stanley P. Y. Fung View PDF Abstract:We present an extremely simple sorting algorithm. From: Stanley P. Y. Fung [ view email][v1] Sun, 3 Oct 2021 22:27:37 UTC (6 KB)

Get the Android app

Or read this on Hacker News

Read more on:

Photo of algorithm

algorithm

Related news:

News photo

Generating Voronoi diagrams using Fortune's algorithm

News photo

TikTok's algorithm exhibited pro-Republican bias during 2024 presidential race

News photo

Escape the walled garden and algorithm black boxes with RSS feeds