Bidirectional Conditional Insertion Sort algorithm; An efficient progress on the classical insertion sort


Mohammed A. S. , Amrahov S. E. , ÇELEBİ F. V.

FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, cilt.71, ss.102-112, 2017 (SCI İndekslerine Giren Dergi) identifier identifier

  • Cilt numarası: 71
  • Basım Tarihi: 2017
  • Doi Numarası: 10.1016/j.future.2017.01.034
  • Dergi Adı: FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE
  • Sayfa Sayıları: ss.102-112

Özet

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.