CAPE Computer Science Unit 2 · 2013 · Paper 2 · Question 2(a)(ii)
Given a C function `bubbleSort(int a[], int numItems)` implementing bubble sort on an array of integers.
Explain carefully the process occurring in the inner 'for' loop.
The mark scheme is shown once you've answered.
Practise this question