Exam-style question
Try this first
Why is bubble sort described as particularly inefficient in the specification?.
- A.It has time complexity O(n2)
- B.It cannot sort any list
- C.It always uses recursion
- D.It has time complexity O(1)
Answer and explanation
Concise answer
It has time complexity O(n2)
Why this is correct
The specification identifies bubble sort as particularly inefficient because its time complexity is O(n2).
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
