Rustacean Station  cover image

Glidesort with Orson Peters

Rustacean Station

00:00

How to Choose the Right Pivot for Your Partition

The ideal pivot would be the median of three random elements. If a ray were currently partitioning is large enough, it recursively selects three pivots and then it selects the median of those three pivots. What Glide sort does is essentially a recursive version of that.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app