I’ve been thinking about this for days. Incredible stochastic algorithm, gets more reliable the larger your input, incredibly fast, trivial to implement and deterministic on its inputs. It really has so much going for it.

(Via @jonathankoren )

@jonathankoren @mhoye they’re all good algorithms, Brent
@adardis @mhoye there are no bad algorithms. There are only bad use cases.
@jonathankoren Is there a use case for Bogosort?
@mschomm it’s perfectly fine for small arrays