Enhanced Quicksort Algorithm

Enhanced Quicksort Algorithm

Rami Mansi
Department of Computer Science, Al al-Bayt University, Jordan

Abstract:  Sorting is considered as one of the important issues of computer science. Although there is a huge number of sorting algorithms, sorting problem has attracted a great deal of research; because efficient sorting is important to optimize the use of other algorithms. It is also often in producing human-readable output. This paper presents a new sorting algorithm called SMS-algorithm (Scan, Move, and Sort). The SMS algorithm is considered as an enhancement on the Quicksort algorithm in the best, average, and worst cases when dealing with an input array of a large size and when the maximum and the minimum values were small, especially when sorting a list of distinct elements. The SMS algorithm is compared with the Quicksort algorithm and the results were promising.

Keywords: SMS algorithm, Quicksort algorithm, large size array, distinct elements, time complexity, space complexity.

Received August 25, 2008; accepted September 25, 2008
Full Text
Read 6515 times Last modified on Sunday, 11 July 2010 07:43
Share
Top
We use cookies to improve our website. By continuing to use this website, you are giving consent to cookies being used. More details…