A Detailed Analysis of Quicksort Algorithms with Experimental Mathematics

04/30/2019
by   Yukun Yao, et al.
0

We study several variants of single-pivot and multi-pivot Quicksort algorithms and consider them as discrete probability problems. With experimental mathematics, explicit expressions for expectations, variances and even higher moments of their numbers of comparisons and swaps can be obtained. For some variants, Monte Carlo experiments are performed, the numerical results are demonstrated and the scaled limiting distribution is also discussed.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset