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...
Type: Posts; User: Broxxar
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...
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 <=...