Sorting algorithms/Bogosort: Difference between revisions

Content deleted Content added
m →‎modified bogo sort: copies updates from the true bogo sorts to the modified bogo sort.
m →‎modified bogo sort: aligned a comment.
Line 1,839:
do bogo=1
 
do j=1 for #; ?=@.j /*? is the next number in array.*/
 
do k=j+1 to #