Sherlock and Inversions

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