Codele / Algorithms

Bubble sort

Bubbles in a glass rise until the biggest ones reach the top. Bubble sort does the same with numbers: the biggest bar floats to the end, pass after pass.

Loading the playable lesson…