spaghetti sort

短语

词形变化

spaghetti sorts 复数 spaghetti sorts

释义与例句

n.
  1. 1.

    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.

    计算机 工程 数学

词源

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

来源:wiktionary