Breaking the O(n^2) Barrier: Novel Approaches to Time Complexity Analysis in Quick Sort
Journal: International Journal of Computer Science and Mobile Computing - IJCSMC (Vol.9, No. 11)Publication Date: 2020-11-30
Authors : Pijush Kanti Kumar;
Page : 107-117
Keywords : ;
Abstract
The most common type of sorting algorithm used is quicksort. As the name suggests it is the one of the most fastest sorting algorithm used since the innovation of sorting. However, this sort has often been criticised for its worst-case time complexity that is O(n^2). Practically the quick sort tends to follow its average case and best-case scenarios most of the time. So practically the quick sort is the most efficient practical sorting algorithm. In this paper we will fine tune this algorithm and remove its worst-case time complexity of O(n^2) and make this the best sorting algorithm both theoretically and practically. Various techniques will be discussed from pivot fixing to randomisation and further using medians of medians.
Other Latest Articles
- Disease Detection of Solanum Lycopersicum using SqueezeNet Deep Learning Architecture
- MECHANICAL AND WEAR PERFORMANCE OF END CHILLED ALUMINIUM -2024 MATRIX COMPOSITES REINFORCED WITH AL2O3 NANO PARTICLES
- THE STRESS SIMULATION ANALYSIS OF COPPER ALLOY C84400 IN A HELICAL GEAR
- Decolonizing Performance: Wole Soyinka’s Synthesis of Theatrical Traditions in Death and the King’s Horseman
- The Issue of Man and Animal Conflict: A Case of Jhargram District, West Bengal
Last modified: 2024-07-24 00:03:36