Sundararajan and Chakraborty (2007) introduced a new version of Quick sort removing the interchanges. Khreisat (2007) found this algorithm to be competing well with some other versions of Quick sort. However, it uses an auxiliary array thereby increasing the space complexity. Here, we provide a second version of our new sort where we have removed the auxiliary array. This second improved version of the algorithm, which we call K-sort, is found to sort elements faster than Heap sort for an appreciably large array size (n <= 70,00,000) for uniform U[0, 1] inputs.
[1]
Sonja Kuhnt,et al.
Design and analysis of computer experiments
,
2010
.
[2]
Thomas J. Santner,et al.
The Design and Analysis of Computer Experiments
,
2003,
Springer Series in Statistics.
[3]
Donald E. Knuth,et al.
The art of computer programming: sorting and searching (volume 3)
,
1973
.
[4]
H. Mahmoud.
Sorting: A Distribution Theory
,
2000
.
[5]
Laila Khreisat.
QuickSort A Historical Perspective and Empirical Study
,
2007
.
[6]
M. Cowles.
Statistical Computing
,
2004
.