public static void main(String[] args) { int[] nums = new int[]{1,3,4,2,5}; System.out.println(getSmallSum(0, nums.length - 1, nums)); } //合并两个数组,并计算左右差的小和 static int merge(int l, int mid, int r, int[] nums){ //计算左右两块的和 int l1 = l, r1 = mid + 1; ...