Rustacean Station  cover image

Glidesort with Orson Peters

Rustacean Station

CHAPTER

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.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner