badge icon

This article was automatically translated from the original Turkish version.

Bubble Sort (Bubble Sorting) Algorithm

Math+1 more categories
Quote
Readings

Bubble Sort (Bubble) Algorithm is a comparison-based algorithm. Work operates on the principle of comparing each element in the list with its adjacent element, and if the value of the first element is greater than that of the second, the two elements place are swapped. Subsequently, the values of the second and third elements are compared; if the second element is greater than the third, these two elements are also swapped. This process continues until the entire array is fully processed.

Working Principle


Bubble Sort Algorithm Pseudocode


Bubble Sort Algorithm in Java Programming Language



Bubble Sort Algorithm animation




Bibliographies



Kaplan, F. *Bubble Sort (Kabarcık Sıralaması) Algoritması.* https://www.mshowto.org/bubble-sort-kabarcik-siralamasi-algoritmasi.html

Programiz. "Bubble Sort." Accessed [insert date].

The original uploader was Nmnogueira at English Wikipedia. - Own work by uploader using Matlab, CC BY-SA 2.5, https://commons.wikimedia.org/w/index.php?curid=1780647

Şeker, Ş. E. (2008). *Kabarcık Sıralaması (Baloncuk Sıralaması, Bubble Sort).* https://bilgisayarkavramlari.com/2008/08/09/kabarcik-siralamasi-baloncuk-siralamasi-bubble-sort/