M
mooon33358
I have a little problem with implementing a recursive merge sort
I have to use a function mergesort that takes 3 arguments - an array,
its size, and an help array(i.e mergesort(int [] array, int size,
int[] temp] . I have to use only the temp array for the sorting, I
cant use two help arrays for the sorting, and I cant change the
signature of the function.
also have a merge function that takes 5 arguments - left array and its
size, right array and its size, and final array.
I dont have a problem with the merge function only with the mergesort.
can someone post the code for it?
I have to use a function mergesort that takes 3 arguments - an array,
its size, and an help array(i.e mergesort(int [] array, int size,
int[] temp] . I have to use only the temp array for the sorting, I
cant use two help arrays for the sorting, and I cant change the
signature of the function.
also have a merge function that takes 5 arguments - left array and its
size, right array and its size, and final array.
I dont have a problem with the merge function only with the mergesort.
can someone post the code for it?