News for hackers. Stuff that matters.
Re:Sorting Algorithm Cheat Sheet by mjcohen on Saturday April 27, 2019 @12:07AM (#19763716)
Behold, the worstsort:

Generate all permutations of the data. Stop when one of them is in order.

O(n*n!).

There are no comments on this comment yet.