in Algorithms
214 views
0 votes
0 votes
Give an algorithm that determines the number of inversions in any permutation on $n$ elements in $\Theta (n\ lg\ n)$ worst-case time. (Hint: Modify merge sort.)
in Algorithms
214 views

Please log in or register to answer this question.

Related questions