Bogo Sort
Interview questions
Is bogosort a real algorithm anyone uses?
No, it is a joke used to teach complexity. It is correct but uselessly slow.
Can bogosort run forever?
The random version has no upper bound on running time, though it finishes with probability 1. Its expected time grows factorially.
Bogosort vs bozo sort: what is the difference?
Bogosort shuffles the whole list each try. Bozo sort swaps two random elements each try. Both are joke sorts.
