Inversion Count In Leetcode Two Pointer