public class Solution { public int InversePairs(int [] array) { //归并排序 。 if(array.length==0){ return 0; } return mergeSort(array,0,array.length-1)%1000000007; } public int merge(int[] array,int left,int mid,int right){ int start = left...