+ 1
How much recursion? š
How many times can recursion invoke itself? Example, in my code recursion call itself 10 000. But after 1000 error appear.. https://code.sololearn.com/cG2MPoYGK6f4/?ref=app What is maximum recursion depth?
5 Answers
+ 2
It's not limited by 'default', is just limited by given runtime or memory.
+ 1
Sandra Meyer Thanks. I found answer in google:))
https://code.sololearn.com/cmu9N4K5DvY4/?ref=app
+ 1
Petr hey bro if u want check how many time recursion invoke u see base value and you'r base value is x==0 mean recursion stop when x is 0 then recusrsion invoke 10000 time when it goes 0 it will return 10000
+ 1
šš¢š¢ššØ šš”šš²šš„ i did it early. Thanks!