Copyright © Philip M. Parker, INSEAD. Terms of Use.

BOGO-SORT

Specialty Definition: BOGO-SORT

DomainDefinition

Computing

Bogo-sort /boh`goh-sort'/ n. (var. `stupid-sort') The archetypical perversely awful algorithm (as opposed to bubble sort, which is merely the generic _bad_ algorithm). Bogo-sort is equivalent to repeatedly throwing a deck of cards in the air, picking them up at random, and then testing whether they are in order. It serves as a sort of canonical example of awfulness. Looking at a program and seeing a dumb algorithm, one might say "Oh, I see, this program uses bogo-sort." Esp. appropriate for algorithms with factorial or super-exponential running time in the average case and probabilistically infinite worst-case running time. Compare bogus, brute force, lasherism. A spectacular variant of bogo-sort has been proposed which has the interesting property that, if the Many Worlds interpretation of quantum mechanics is true, it can sort an arbitrarily large array in linear time. (In the Many-Worlds model, the result of any quantum action is to split the universe-before into a sheaf of universes-after, one for each possible way the state vector can collapse; in any one of the universes-after the result appears random.) The steps are: 1. Permute the array randomly using a quantum process, 2. If the array is not sorted, destroy the universe (checking that it is sorted requires O(n) time). Implementation of step 2 is left as an exercise for the reader. Source: Jargon File.

Source: compiled by the editor from various references; see credits.

Top     

Crosswords: BOGO-SORT

Specialty definitions using "BOGO-SORT": pixel sortstupid-sort. (references)

Top     

Anagrams: BOGO-SORT

Scrabble® Enable2K-Verified Anagrams

Words within the letters "b-g-o-o-o-r-s-t"

-2 letters: robots.

-3 letters: boors, boost, boots, borts, broos, gobos, grots, robot, roost, roots, rotos, sorgo, toros, torso.

-4 letters: bogs, boor, boos, boot, bort, bots, broo, bros, gobo, gobs, goos, grot, oots, orbs, orts, robs, root, roto, rots, soot, sorb, sort, stob, togs, toro, tors.

-5 letters: bog, boo, bos, bot, bro, gob, goo, gor, gos, got.

 Words containing the letters "b-g-o-o-o-r-s-t"
 

+4 letters: astrobiology.

 

+5 letters: cryobiologist, motorboatings, postbourgeois.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     

Alternative Orthography: BOGO-SORT


Hexadecimal (or equivalents, 770AD-1900s) (references)

42 4F 47 4F 2D 53 4F 52 54

Leonardo da Vinci (1452-1519; backwards) (references)

Binary Code (1918-1938, probably earlier) (references)

01000010 01001111 01000111 01001111 00101101 01010011 01001111 01010010 01010100

HTML Code (1990) (references)

&#66 &#79 &#71 &#79 &#45 &#83 &#79 &#82 &#84

ISO 10646 (1991-1993) (references)

0042 004F 0047 004F 002D 0053 004F 0052 0054

Encryption (beginner's substitution cypher): (references)

364941491553495254

Top     



INDEX

1. Crosswords
2. Anagrams
3. Orthography
4. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.