Azels56 / bubble-sort

Bubble sort is a sorting algorithm that compares two adjacent elements and swaps them until they are not in the intended order. Just like the movement of air bubbles in the water that rise up to the surface, each element of the array move to the end in each iteration. Therefore, it is called a bubble sort.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bubble-sort

Bubble sort that I made with pseudocode, and some digging in the google.

About

Bubble sort is a sorting algorithm that compares two adjacent elements and swaps them until they are not in the intended order. Just like the movement of air bubbles in the water that rise up to the surface, each element of the array move to the end in each iteration. Therefore, it is called a bubble sort.


Languages

Language:C++ 100.0%