Hacker News new | ask | show | jobs
by robertnn 4430 days ago
Why would the worst case change if you use a random number for choosing the pivot?
1 comments

Ah.

Technically, the worst case stays the same.

In actuality, the worst case occurring via random chance is not a problem, as it occurs vanishingly infrequently. The problem is malicious input.