Permutation and Inversions

Problem Name:
Permutation and Inversions
Site:HackerEarth
Links:
Tags:
Problem setters: