作者
Sherenaz Al-Haj Baddar, Sami Serhan, Hamed Abdel-Haq
发表日期
2011/7/1
期刊
WSEAS Transactions on Information Science and Applications
卷号
8
期号
7
页码范围
275-284
出版商
World Scientific and Engineering Academy and Society (WSEAS)
简介
In this paper, a new sorting algorithm called the Growing-Tree Sorting Algorithm (GTSA) is proposed to sort a vector of items in a linear time. It implements a structured tree that stores the digits of each input integer and retrieves the integers in the correct order. If d is the maximum number of digits per input number and n is the input size, then it can be shown that the GTSA algorithm requires θ(dn) time to sort both in its best and worst-case scenarios. It can be also shown that the best-case memory complexity of GTSA is θ(d) and that the worst-case memory complexity is θ(dn). To evaluate the performance of GTSA, it was compared with the radix and counting sort algorithms in terms of the memory they consume and their corresponding execution times. The experiments showed that GTSA was, in general, more memory-conservative than counting sort and radix sorting algorithms. The experiments also showed that the …
学术搜索中的文章
SAH Baddar, S Serhan, H Abdel-Haq - WSEAS Transactions on Information Science and …, 2011