4 ms·
Another example is quicksort falling back to insertion sort as a recursive base case for some n=k (instead of recursing all the way to one element).
by senderista 6y ago
Another example is quicksort falling back to insertion sort as a recursive base case for some n=k (instead of recursing all the way to one element).