Multiple choice

What is the complexity of the bubble sort?

  1. O(n)

  2. O(logn)

  3. O(n2)

  4. O(nlogn)

  5. O(1)

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Bubble sort.