spaghetti sort

Hello, you have come here looking for the meaning of the word spaghetti sort. In DICTIOUS you will not only get to know all the dictionary meanings for the word spaghetti sort, but we will also tell you about its etymology, its characteristics and you will know how to say spaghetti sort in singular and plural. Everything you need to know about the word spaghetti sort you have here. The definition of the word spaghetti sort will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofspaghetti sort, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

Schematic diagram of spaghetti sorting. The spaghetti can be sorted by removing them from the bundle on the table in the order they stick out.

Etymology

Introduced by A. K. Dewdney in a Scientific American column.

Noun

spaghetti sort (plural spaghetti sorts)

  1. (computing theory) A linear-time algorithm for sorting a sequence of items, analogous to standing a number of strands 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.