//归并排序 通过测试 public class MergeSortTest{ public static void mergeSort(int[] data,int low,int high){ if(low<high) { int mid=(low+high)/2; mergeSort(data,low,mid); mergeSort(data,mid+1,high); merge(data,low,mid,mid+1,high); } } public static void merge(…