Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Slowest sort you can think

Name: Anonymous 2012-07-22 3:02

What's the slowest non-Bogosort sort you can think of?

For me, it's
- Compute all the n! permutations of the list
- Do a breadth first search of the ordered permutation.
which, if done right, can be O(n*n!logn!).

Name: Anonymous 2012-07-24 14:19

Random sort. Try a combination and check if it's right; if not, repeat. It has unpredictable time constraints, and doesn't necessarily generate the correct result, ever. Making it effectively O(inf).

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List