4 ms·
It depends on whether pedagogy is the primary goal. For teaching, the in-place implementation can come after the conceptual "pick a pivot, partition accordingly
by imh 10y ago
It depends on whether pedagogy is the primary goal. For teaching, the in-place implementation can come after the conceptual "pick a pivot, partition accordingly, then recurse" is made concrete.