Vidyalelo
Data Structure · Q93

Arrays in Data Structures

Programming · Data Structure · question 93

Q93

What is the space complexity of the code that uses merge sort for determining the number of inversions in an array?

A.
O(n)
Answer
B.
O(log n)
C.
O(1)
D.
O(n log n)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board