For quicksort I didn't use the proposed algorithm by the book. Instead, I used the primary slice for future calls. Quicksort with random pivot got really messy, because I didn't use the shorter and bigger slices. Making it better would be nice!
For quicksort I didn't use the proposed algorithm by the book. Instead, I used the primary slice for future calls. Quicksort with random pivot got really messy, because I didn't use the shorter and bigger slices. Making it better would be nice!