+ 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?
4 odpowiedzi
+ 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!