karussell on Nostr: StalinSort 😬 https://github.com/gustavo-depaula/stalin-sort "I came up with a ...
StalinSort 😬
https://github.com/gustavo-depaula/stalin-sort
"I 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."
https://github.com/gustavo-depaula/stalin-sort
"I 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."