Inversion Count In Leetcode Two Sums