NK-SORTING ALGORITHM

Authors

  • NIDHAL . K EL ABBADI University of Kufa
  • ZAID YAHYA A. KAREEM University of Kufa

DOI:

https://doi.org/10.31642/JoKMC/2018/010404

Keywords:

Sorting, Time complexity,, Integers,, Comparison, Time analysis, , Space analysis.

Abstract

Sorting has been a profound area for the algorithmic researchers and many resources are invested to suggest more works for sorting algorithms. For this purpose, many existing sorting algorithms were observed in terms of the efficiency of the algorithmic complexity.

Many algorithms are very well known for sorting the unordered lists.

In this proposed algorithm, we suggested a new algorithm for sorting integers number depending on dividing the input array to many sub-arrays (which represents a vector or array with one dimension), according to the number of digits in each integer number, the relation between sub-array elements is determined, and this relation used to determines the right location of each element in sub-arrays.

 Collision may happen, which is solved by moving elements in sub-array to next location. Finally, all ordered sub-arrays will be merged together to rebuild the origin array. The proposed algorithm compared with many famous algorithms gives promising results.

 

Downloads

Download data is not yet available.

References

Aho A., Hopcroft J., and Ullman J., The Design and Analysis of Computer Algorithms, Addison-Wesley, 1974.

Box R. and Lacey S., “A fast, easy sort,” Byte Magazine, vol.16, no.4, pp.315-ff, April 1991.

Cormen T., Leiserson C., Rivest R., and Stein C., Introduction to Algorithms, 2nd edition, McGraw-Hill Book, 2001.

Donald Knuth. The Art of Computer Programming, Volume 3: Second Edition. Addison-Wesley, 1998. ISBN 0-201-89685-0. Section 5.2.1: Sorting by Insertion, pp.80–105

Kruse R., and Ryba A., Data Structures and Program Design in C++, International Edition, Prentice Hall, 1999.

Levitin A., Introduction to the Design & Analysis of Algorithms, 2nd Edition, Section 3.1: Selection Sort, pp 98-100, 2007.

Moller F., Analysis of Quicksort, Department of Computer Science, University of Wales Swansea, 2001.

Nyhoff L., An introduction to Data Structures, 2nd edition, pp: 581-585.

Thomas H. , et at. Introduction to Algorithms, Second Edition. MIT Press and McGraw-Hill, 2001. ISBN 0-262- 03293-7. Section 2.1: Insertion sort, pp.15–21.

Weiss M., Data Structures and Problem Solving using Java, Addison-Wesley, 2002.

Downloads

Published

2011-11-30

How to Cite

EL ABBADI, N. . K., & KAREEM, Z. Y. A. (2011). NK-SORTING ALGORITHM. Journal of Kufa for Mathematics and Computer, 1(4), 27–35. https://doi.org/10.31642/JoKMC/2018/010404

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.