1.

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

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


Discussion

No Comment Found