Type: Posts; User: Mathew.Williams

Search: Search took 0.30 seconds.

  1. Re: StackOverflowError when using quicksort

    I've solved this problem, thanks guys. I just had to increase the stack size to 2m and the heap size to 350m.
  2. StackOverflowError when using quicksort

    When I run the following code on a dataset of 500000 items I get a StackOverflowError. I've increased the JVM's available heap space to 512mb however I still get the same problem, I was wondering if...
  3. Quicksort algorithm displaying strange behaviour

    public void quickSort(int[] items, int left, int right){
    int pivot = (left + right) / 2;
    int tmp;
    int i = left, j = right;
    while(items[i] <=...
Results 1 to 3 of 3