Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 9 - No. 40)

What characteristics determine which data values are compared by the bubble sort algorithm?
Whether they are adjacent to each other.
The number of comparisons made.
The index of the values in the list.
Their values in the list.

Explanation

Bubble sort compares adjacent data values, swapping them to put them in order.

Comments (0)

Advertisement