I'm not certain on this, but if the same stack is handling between 1 and 1000000 it will be overwhelmed.
Type: Posts; User: javapenguin
I'm not certain on this, but if the same stack is handling between 1 and 1000000 it will be overwhelmed.
else
{
n=n*3+1;
}
collatz(n);
300001
collatz(300001)