An algorithm whose complexity is a joke, either literally, as in BogoSort, or metaphorically.
[Dodgy Coder].