Search:

Type: Posts; User: joshft91

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    2,142

    Re: MergeSort won't work

    Ah-ha! I called it this way and it appears to be sorting just fine...


    mergeSort_srt(randomArray2,0,randomArray2.length-1);
  2. Replies
    7
    Views
    2,142

    Re: MergeSort won't work

    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...
  3. Replies
    7
    Views
    2,142

    Re: MergeSort won't work

    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...
  4. Replies
    7
    Views
    2,142

    MergeSort won't work

    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

    ...
Results 1 to 4 of 4