Count Number Of Inversions Leetcode Rating