gems like https://cat2.dynu.ca/cat2/arraycycle.txt, which should be archived in the "Perfect examples of how to do something wrong" section.
Further reading: "Pessimal Algorithms and Simplexity Analysis" <http://www.dcc.unicamp.br/~stolfi/EXPORT/papers/by-tag/bro-sto-84-pes.ps.gz> Or HTML-ified by Google: http://66.102.9.104/search?q=cache:Mm0-NPpiCLoJ:www.dcc.unicamp.br/~stolfi/EXPORT/papers/by-tag/bro-sto-84-pes.ps.gz+pessimal+slowsort&hl=no It contains analysis of the Slowsort algorithm and the Multiply and Surrender principle. -- Herman Robak, herman at skolelinux no