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!
Some algorithms from 'Grokking Algorithm' by Aditya Y. Bhargava
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!
Some algorithms from 'Grokking Algorithm' by Aditya Y. Bhargava
GNU General Public License v3.0