NIST

bozo sort

(algorithm)

Definition: A terribly inefficient sort algorithm that randomly swaps items until they are in order.

See also bogosort, stooge sort, lucky sort.

Author: PEB

Implementation

demonstration and source code (Java).
Go to the Dictionary of Algorithms and Data Structures home page.

If you have suggestions, corrections, or comments, please get in touch with Paul E. Black.

Entry modified Fri Dec 17 11:48:43 2004.
HTML page formatted Wed Oct 26 09:47:16 2005.

Cite this as:
Paul E. Black, "bozo sort", from Dictionary of Algorithms and Data Structures, Paul E. Black, ed., NIST.
http://www.nist.gov/dads/HTML/bozoSort.html

to NIST home page