chevron_leftSorting All topics

Bubble Sort

8351927

Bubble sort compares two neighbours at a time. The biggest value keeps floating to the end, like a bubble rising to the surface.

step 01/38

  • comparing
  • moving
  • in final place

Practice

spec · json ↗