New course! Every coder should learn Generative AI!
Try a free lesson0
In recursion method which one is exit condition??
2 Answers
+ 3
The one that doesn't return the function you called.
0
The one, that fails the condition to call it again..
Or statements which makes complete function execution. Ex: return