Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Factorial.java #975
Conversation
|
Please test the code before making such changes. Your modified code is flawed as it will begin recursion decrementing Also note that recursion consumes stack space and decreases the readability of the code when compared to iteration. This might result in a Stack Overflow for large values of |
|
Factorial Recursion Version exists. |


decreased line of code by 3