Hello everyone,
I'm working on project and decided to use recursion instead of loops to try gain more points. The only problem is that the number of iterations required could fairly high, which would cause a StackOverflowException if I use recursion, whereas if I use loops this won't be a problem. I might still use the recursive method but without knowing what the maximum number of iterations can be it's a little concerning. Does anyone know exactly how many recursive calls
Java can tolerate (or does anywhere atleast know where to find it... i checked
here and didn't find anything useful). Can anyone help please.
Thanks in advance.