Forum: Java Dec 13th, 2008 |
| Replies: 6 Views: 793 Alright, thanks for your help. :) |
Forum: Java Dec 3rd, 2008 |
| Replies: 6 Views: 793 I didn't realize that I was using different command line arguments for A5Q5 and A5Q6 until now. So it seems that my code works fine for arrays of smaller lengths (such as 128) but not for arrays of... |
Forum: Java Dec 3rd, 2008 |
| Replies: 6 Views: 793 I'm working on a quick sort algorithm using recursion but it's throwing a stackOverflowError. Here is the code:
public static void quicksort(int [] A){
quickSortRec(A, 0, A.length-1);
}
... |
Forum: Java Nov 29th, 2008 |
| Replies: 2 Views: 425 Ah, can't believe I missed that... Thanks for all your help. My code's running fine now. :) |
Forum: Java Nov 29th, 2008 |
| Replies: 2 Views: 425 I am trying to create a heap sort method using recursion but whenever one of my methods called maxHeapify is called, it would throw a StackOverflowError. I understand that this error will pop up... |