Engrish Blog
中文博客
Bogosort, very inefficient sorting system, now it's in PHP, even more inefficient than ever.
function bogosort($array){ $sorted = $array; sort($sorted); while($sorted !== $array){ shuffle($array); } return $array; }
[...] PHP implementation of Bogosort [...]
<code>
<blockcode>
<foo>
[foo]
More information about formatting options
_ _ _ _ _ _ / \ (_) _ _ | | | |__ | || | / _ \ | | | | | | | | | '_ \ | || |_ / ___ \ | | | |_| | | | | |_) | |__ _| /_/ \_\ |_| \__,_| |_| |_.__/ |_|
Total Mouse Clicks:1274207
Total Keystrokes:6191895
Total Mouse Distant Moved:689814931 pixels
Last Update:2010-06-01T18:21:12-04:00
Comments
[...] PHP implementation of
[...] PHP implementation of Bogosort [...]
Post new comment