Computer Science, asked by sachinkumar7048, 1 year ago

Let a[1,...,n] be an array of n distinct numbers. if ia[j], then the pair (i,j) is called an inversion of

a. what is the expected number of inversions

Answers

Answered by sshaardul
2
according to the user input ...n
Similar questions