DEV Community

Discussion on: Java: Recursion Basics. 🔁

Collapse
 
rakshakannu profile image
Raksha Kannusami

Thank you for pointing out the typo!
and regarding the print 1 to N, problem, I did not focus on the base cases, I just wanted to show how recursion works!

Collapse
 
ashishshetty profile image
AlphaSierra

Oh no problem. Happy to help 👍