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-22 11:20

I see what OP's master plan is here.

#1) Develop top selling product
#2) Wait until the product is on 90% of all usable machines
#3) Release update including the following code:
     Add program to startup queue
     Disable any functionality allowing users to end the program
     Start 20 threads, each doing:
     Create int array of size 999,999,999
     Sort as slow as possible using what is essentially bogosort.
     ???
     Profit.

Genius.

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