diff --git "a/exercises/liufq/\344\270\255\347\255\211/\345\275\222\345\271\266\346\216\222\345\272\217/Solution.java" "b/exercises/liufq/\344\270\255\347\255\211/\345\275\222\345\271\266\346\216\222\345\272\217/Solution.java" index bf796c3efafd8efdc2e1c93ea776f54e5cbbb289..4f8e810d41a1e6f57d80056fbd49be46c2596b06 100644 --- "a/exercises/liufq/\344\270\255\347\255\211/\345\275\222\345\271\266\346\216\222\345\272\217/Solution.java" +++ "b/exercises/liufq/\344\270\255\347\255\211/\345\275\222\345\271\266\346\216\222\345\272\217/Solution.java" @@ -5,8 +5,8 @@ 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]); + for (int i = 0; i < nums.length; i++) { + System.out.println(nums[i]); } }