Ah-ha! I called it this way and it appears to be sorting just fine...
mergeSort_srt(randomArray2,0,randomArray2.length-1);
Type: Posts; User: joshft91
Ah-ha! I called it this way and it appears to be sorting just fine...
mergeSort_srt(randomArray2,0,randomArray2.length-1);
Hm.... I'm not super familiar with arrays yet, and I've tried different ways of calling the method but with no success. My thought process was that the lo, indicated by randomArray[0] through...
Thanks for the reply.
We're supposed to create two arrays and sort array2 so we ahve the first one as an original.
I stripped the code down as far as I could and got this... it still doesn't...
Hey guys ...
Alright, I have my sort implemented and everything compiles fine. Up in my main I have an array of 100 random integers... then I call the mergeSort method with
...