COMPARATIVE COMPLEXITY STUDY OF BUBBLE SORT AND INSERTION SORT USING JAVA PROGRAMMING LANGUAGE

A REVIEW

Authors

  • IBRAHIM MUHAMMAD AL-AMIN Department of Computer Science, Ibrahim Badamasi Babangida University Lapai Niger State, Nigeria. Author
  • A.E OKEYINKA Department of Computer Science, Ibrahim Badamasi Babangida University Lapai Niger State, Nigeria. Author
  • ABDULLAHI IBRAHIM Department of Computer Science, Ibrahim Badamasi Babangida University Lapai Niger State, Nigeria. Author

Abstract

This research paper presents the review of the computational complexity of bubble sort and insertion sort; the run-time performances of bubble and insertion sort were evaluated, and the comparisons of the time complexity of both sorts were also analyzed. These two algorithms was the area of focus for this research and the result practically proved that bubble sort is not better compare to insertion sort and therefore agreed that the best performing algorithm in terms of the best case, average case, and worse case is insertion sort. The research also provides a drawback to the bubble sorting algorithm because it keeps sorting the input data even if they are arranged at their normal positions.

Keywords:

Algorithm, Bubble Sort, Insertion Sort, Complexity, Efficiency, Performance

Downloads

ACCESSES

Views: 472  
Downloads: 284  

Published

2024-02-29

Issue

Section

Articles

How to Cite

IBRAHIM MUHAMMAD AL-AMIN, A.E OKEYINKA, & ABDULLAHI IBRAHIM. (2024). COMPARATIVE COMPLEXITY STUDY OF BUBBLE SORT AND INSERTION SORT USING JAVA PROGRAMMING LANGUAGE: A REVIEW. Journal of Science Innovation and Technology Research, 3(9). https://africanscholarpub.com/ajsitr/article/view/141

Share

PlumX

Most read articles by the same author(s)

1 2 3 4 5 > >> 

Similar Articles

1-10 of 17

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