Tentamen (uitwerkingen)
AQA A-Level computer science 03 / Fundamentals of Algorithms
- Vak
- Instelling
AQA A-Level computer science 03 / Fundamentals of Algorithms bubble sort - ANSWER-Compares each pair of elements in the array and swaps them if necessary. O(N^2) because it passes through the array N times. Since each pass through the array is N operations, this is N times N operations = N^2 o...
[Meer zien]