Search:

Type: Posts; User: Broxxar

Search: Search took 0.21 seconds.

  1. Replies
    4
    Views
    267

    [SOLVED] Re: Issue when returning an array

    Just noticed it (in the wikipedia pseudocode algorithm) right as you replied pbrockway2.

    You are correct, the left being sent on is not what I want it to be:


    mergeSort(left); should instead...
  2. Replies
    4
    Views
    267

    [SOLVED] Issue when returning an array

    I'm writing my own mergeSort method from scratch for a CS course, but somewhere a long the way it seems to lose it's way...

    public static int[] mergeSort(int[] array) {

    if (array.length <=...
Results 1 to 2 of 2