Multiple choice

Merge sort's worst case space complexity is

  1. 0

  2. O(n)

  3. O(logn)

  4. None of these

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

Merge sort requires O(n) auxiliary space to store the temporary arrays used during the merging process.