Examveda

What is the average number of inversions in an array of N distinct numbers?

A. N(N-1)/4

B. N(N+1)/2

C. N(N-1)/2

D. N(N-1)/3

Answer: Option A


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms