Search:

Type: Posts; User: javapenguin

Search: Search took 0.07 seconds.

  1. Replies
    4
    Views
    2,599

    [SOLVED] Re: StackOverflowError with recursive method

    I'm not certain on this, but if the same stack is handling between 1 and 1000000 it will be overwhelmed.
  2. Replies
    4
    Views
    2,599

    [SOLVED] Re: StackOverflowError with recursive method

    else
    {
    n=n*3+1;
    }
    collatz(n);

    300001

    collatz(300001)
Results 1 to 2 of 2