Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) O(n2)
b) O(n)
c) O(log n)
d) O(n log n)