Skip to content
EntityQ1408601· pop 6· linked from 62 articles

Slowsort is a sorting algorithm. It is of humorous nature and not useful. It is a reluctant algorithm based on the principle of multiply and surrender (a parody formed by taking the opposites of divide and conquer). It was published in 1984 by Andrei Broder and Jorge Stolfi in their paper "Pessimal Algorithms and Simplexity Analysis" (a parody of optimal algorithms and complexity analysis).

~2 min read

Article

3 sections
Contents
  • Algorithm
  • Complexity Analysis
  • References

Slowsort is a sorting algorithm. It is of humorous nature and not useful. It is a reluctant algorithm based on the principle of multiply and surrender (a parody formed by taking the opposites of divide and conquer). It was published in 1984 by Andrei Broder and Jorge Stolfi in their paper "Pessimal Algorithms and Simplexity Analysis" (a parody of optimal algorithms and complexity analysis).

==Algorithm== Slowsort is a recursive algorithm. It sorts in-place. It is an unstable sort. (It might change the order of equal-valued keys.) A pseudocode implementation is given below:

Available in 6 languages

via Wikidata sitelinks · CC0

Connections

Categories