spaghetti sort
Fetched 2026-10-26 (cache).
Datamuse reports no synonyms or antonyms for this word.
Noun
- {{lb|en|sorting algorithm}} A [[linear time|linear-time]] [[algorithm]] for sorting a [[sequence]] of items, [[analogous]] to standing a number of [[strand]]s of [[spaghetti]] of different lengths upright on a [[surface]] and noting the order in which they are encountered when lowering one's hand from above.
Source: Wiktionary · CC BY-SA 4.0 (Wiktionary dump) · cached copy, not a rewrite.