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, vol.71, pp.102-112, 2017 (Journal Indexed in SCI) identifier identifier

  • Publication Type: Article / Article
  • Volume: 71
  • Publication Date: 2017
  • Doi Number: 10.1016/j.future.2017.01.034
  • Title of Journal : FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE
  • Page Numbers: pp.102-112

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.