Search Results

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: pocku ; Forum: Java and child forums
Forum: Java Dec 13th, 2008
Replies: 6
Solved: Recursion help
Views: 793
Posted By pocku
Alright, thanks for your help. :)
Forum: Java Dec 3rd, 2008
Replies: 6
Solved: Recursion help
Views: 793
Posted By pocku
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
Solved: Recursion help
Views: 793
Posted By pocku
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
Posted By pocku
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
Posted By pocku
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...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC