Analysis of the Multi-Pivot Quicksort Process

HTML  XML Download Download as PDF (Size: 346KB)  PP. 47-58  
DOI: 10.4236/ojmsi.2017.51004    1,664 Downloads   4,199 Views  Citations

ABSTRACT

In this paper, we study a new version from Dual-pivot Quicksort algorithm when we have some other number of pivots. Hence, we discuss the idea of picking pivots  by random way and splitting the list simultaneously according to these. The modified version generalizes these results for multi process. We show that the average number of swaps done by Multi-pivot Quicksort process and we present a special case. Moreover, we obtain a relationship between the average number of swaps of Multi-pivot Quicksort and Stirling numbers of the first kind.

Share and Cite:

Ragab, M. , El-Desouky, B. and Nader, N. (2017) Analysis of the Multi-Pivot Quicksort Process. Open Journal of Modelling and Simulation, 5, 47-58. doi: 10.4236/ojmsi.2017.51004.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.