Предложен алгоритм сортировки массива за линейное время. Теорема об n*log(n) опровергнута!

mathew W
@mathew@mastodon.social
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.
2018/10/26 04:20:16,it-юмор,geek,Прикольные