Hacker News new | ask | show | jobs
by tialaramex 265 days ago
In their example they choose a random pivot, is that what you're asking about?

There are a number of strategies but random will indeed work and is simple to explain.