Algorithms

EasyMediumHard
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
Question 23
Easy

A bubble sort is used to sort the following list of numbers in ascending order:

| 8 | 3 | 5 | 1 | 9 | 2 | 7 |

State the condition that determines when the bubble sort algorithm has completed and can stop.

[1]

Algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Algorithms