提交 613fadc6 编写于 作者: 漫长的~以后's avatar 漫长的~以后

1.归并算法排序

上级 be196d61
......@@ -5,6 +5,9 @@ class Solution {
}
int[] helper = new int[nums.length];
mergeSort(nums, helper, 0, nums.length - 1);
for (int i = 0; i < helper.length; i++) {
System.out.println(helper[i]);
}
}
private static void mergeSort(int[] nums, int[] helper, int low, int high) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册