Overview

  • Elements bubble from the front to back to their correct location.
  • Compare each element to its neighbor.
  • Swap to correct
  • Continue until no swaps are made

Advantages

  • Very easy to implement.

Disadvantages

  • Not the most efficient algorithm.