AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Basics of Sorting Engineer
In quick sort, the basic idea is you choose one element and how you choose that's one of the Frankenstein bits. To go one one metal level higher, like Glide sort is a, as I said, it's a Frankenstein, right? And it very much combines both merge sort and quick sort. So essentially what you do is you check how many times have we recursed and if this goes above a certain limit, you switch to another L. That makes a little bit more sense, right?