2 ms·
If the argument to the original function is too large, the function runs out of stack space for the recursion. The function at the end of the post handles much
by mcguire 8y ago
If the argument to the original function is too large, the function runs out of stack space for the recursion. The function at the end of the post handles much larger arguments.
The presentation is very complicated, though.