Bidirectional Conditional Insertion Sort algorithm; An efficient progress on the classical insertion sort
FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, vol.71, pp.102-112, 2017 (SCI-Expanded, Scopus)
- Publication Type: Article / Article
- Volume: 71
- Publication Date: 2017
- Doi Number: 10.1016/j.future.2017.01.034
- Journal Name: FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE
- Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus
- Page Numbers: pp.102-112
- Open Archive Collection: AVESIS Open Access Collection
- Ankara Yıldırım Beyazıt University Affiliated: Yes
Abstract
In this paper, we proposed a new efficient sorting algorithm based on insertion sort concept. The proposed algorithm is called Bidirectional Conditional Insertion Sort (BCIS). It is in-place sorting algorithm and it has remarkably efficient average case time complexity when compared with classical insertion sort (IS). By comparing our new proposed algorithm with the Quicksort algorithm, BCIS indicated faster average case time for relatively small size arrays up to 1500 elements. Furthermore, BCIS was observed to be faster than Quicksort within high rate of duplicated elements even for large size array. (C) 2017 Elsevier B.V. All rights reserved.