How to avoid StackOverflowError for a recursive function

后端 未结 6 1556
无人共我
无人共我 2021-01-01 18:19

I\'m writing a function that will call itself up to about 5000 times. Ofcourse, I get a StackOverflowError. Is there any way that I can rewrite this code in a f

6条回答
提交回复
热议问题