Advanced Computing and Communication Technologies for HPC Applications |
Foundation of Computer Science USA |
ACCTHPCA - Number 3 |
July 2012 |
Authors: Pankaj Kumar G, Prasad J C |
a3b9abac-3e13-4a17-880f-5bf74da26857 |
Pankaj Kumar G, Prasad J C . Cognitive Sorting. Advanced Computing and Communication Technologies for HPC Applications. ACCTHPCA, 3 (July 2012), 6-10.
Sorting or ordering a list of items is one of the tasks that occur frequently in majority of computer programs. In our work we incorporated certain aspects of human cognition into sorting algorithms that will improve their performance. This paper presents two new variants of Selection sort. The first algorithm has a time complexity of O(1) in the best case. The second algorithm outperforms Selection sort and its variants when sorting a list of items that has a large number of duplicates present in it.