Codeforces Round #627 D - Pair of Topics-
https://codeforces.com/contest/1324/problem/D
My Doubt is
why sorting doesn’t change the relative ordering??
(i<j) condition ka kya Hua??
Please Explain
Can Similar Approach be applied While Finding Inversion Counts??