This paper is published in Volume 3, Issue 7, 2018
Area
Algorithm Analysis
Author
Nisha Rathi
Org/Univ
Acropolis Institute of Technology & Research, Indore, Madhya Pradesh, India
Pub. Date
28 July, 2018
Paper ID
V3I7-1253
Publisher
Keywords
Dynamic pivot selection, Quick sort, QSort, Median-of-Three rule, Median-of-Five rule

Citationsacebook

IEEE
Nisha Rathi. QSort– Dynamic pivot in original Quick Sort, International Journal of Advance Research, Ideas and Innovations in Technology, www.IJARnD.com.

APA
Nisha Rathi (2018). QSort– Dynamic pivot in original Quick Sort. International Journal of Advance Research, Ideas and Innovations in Technology, 3(7) www.IJARnD.com.

MLA
Nisha Rathi. "QSort– Dynamic pivot in original Quick Sort." International Journal of Advance Research, Ideas and Innovations in Technology 3.7 (2018). www.IJARnD.com.

Abstract

This Paper proposes an efficient Quick Sort algorithm for sorting a large array. Quick Sort has proved to be the fastest sorting algorithm used for sorting, making O (n log n) comparisons to sort n items. The proposed algorithm is based on a dynamic pivot selection to enhance the average case and eliminate the worst case behavior of the original Quick Sort. The suggested QSort is data-dependent to increase the chances of splitting the array into relatively equal sizes. The algorithm is smart enough to recognize a sorted array that doesn’t require further processing.
Paper PDF