News for hackers. Stuff that matters.
Re:Bogo-bogosort by thetwiceler on Saturday December 28, 2013 @10:32PM (#6978170)
The mean would certainly be n! (note that it is possible, and even likely, that you may create the same sorting multiple times by random chance).

The median, which I don't think you're referring to, is something else (I imagine it would be substantially less than the mean).

(See http://en.wikipedia.org/wiki/Geometric_distribution)

There are no comments on this comment yet.