Chetan Dattachetan77.hashnode.dev·Feb 18, 2024493. Reverse PairsGiven an integer array nums, return the number ofreverse pairsin the array. (link) A reverse pair is a pair (i, j) where: 0 <= i < j < nums.length and nums[i] > 2 * nums[j]. Example 1: Input: nums = [1,3,2,3,1] Output: 2 Explanation: The reverse ...Leetcodereverse pairs