By Letter: Non-alphabet | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
  Email this page to a friend


Bubble sort




A sorting technique in which pairs of adjacent values in the list to be sorted are compared and interchanged if they are out of order; thus, list entries "bubble upward" in the list until they bump into one with a lower sort value.

Because it is not very good relative to other methods and is the one typically stumbled on by naive and untutored programmers, hackers consider it the canonical example of a naive algorithm.

The canonical example of a really *bad* algorithm is bogo-sort.

A bubble sort might be used out of ignorance, but any use of bogo-sort could issue only from brain damage or willful perversity.

[Jargon File]





< Previous TermsTerms Containing bubble sortNext Terms >
BTS
BTW
BUAF
BUAG
bubble memory
bogo-sort
brute force and ignorance
bubble sort
buried treasure
cocktail shaker sort
bucky bits
buffer
buffered write-through
buffer overflow
bug


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions