Count the Number of Inversions

hardSolve on LeetCodeLast edited: August 2, 2025