Inversion Count In Leetcode Premium