Leetcode 3520. Minimum Threshold for Inversion Pairs Count | Hello Interview