Count the reverse pairs in an integer array — every pair of indices where the element at the earlier index is strictly more than twice the element at the later one.
Loading content...