1. Merge Sort(병합정렬)
public class MergeSort { public static void mergeSort(int nums[], int helper[], int s, int e) { if (s < e) { int m = (s+e)/2; mergeSort(nums, helper, s, m); mergeSort(nums, helper, m+1, e); merge(nums, helper, s, m, e); } } public static void merge(int nums[], int helper[], int s, int m, int e) { for (int i = s; i