GATEverse
← GATE CSE 2003

Q61

MCQ2 marks, −0.5

In a permutation a1...ana_1 ... a_n, of n distinct integers, an inversion is a pair (ai,aj)(a_i, a_j) such that i<ji < j and ai>aja_i > a_j. If all permutations are equally likely, what is the expected number of inversions in a randomly chosen permutation of 1...n1. . . n?

Sign in to save attempts.

Loading…