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
_ __ ____ ____ / | / /_ __ __ ___ / ___| | ___| | | | '_ \ \ \ /\ / / / __| | | _ |___ \ | | | (_) | \ V V / | (__ | |_| | ___) | |_| \___/ \_/\_/ \___| \____| |____/
Total Mouse Clicks:1266651
Total Keystrokes:6163302
Total Mouse Distant Moved:685258142 pixels
Last Update:2010-01-23T02:54:27-05:00
Comments
[...] PHP implementation of
[...] PHP implementation of Bogosort [...]
Post new comment