3. BUBBLE SORT ALGORITHMS
• Bubble sort algorithm compares
pairs of items in a list and swaps
them into the correct order .
• Bubble sort algorithm goes
through a list again and again
until the required condition is
met.
4. THINK- TIME
Use bubble sort algorithm to arrange
the list in ascending order.
2, 5, 4, 1, 3