Inversion Count In Leetcode Contest Questions