Problem 493 · Hard
Count pairs where i < j and nums[i] > 2*nums[j] using merge sort.
Open the interactive visualisation