in

Salute to this sort..πŸ––

Salute to this sort..πŸ–– | list-memes, algorithm-memes | ProgrammerHumor.io
list-memes, algorithm-memes | ProgrammerHumor.io

Content

mathew mathewmastodon.social 1 came up with a single pass O(n) sort algorithm I call StalinSort. You iterate down the list of elements checking if they’re in order. Any element which is out of order is eliminated. At the end you have a sorted list.