Advantages and Disadvantages
This lesson will discuss the advantages and disadvantages of recursion.
Advantages of Recursion
Recursion has the following advantages:
Shorter code length
For a recursive method, you only need to define the base case and recursive case, so the code is simpler and shorter ...
Recursion decreases the size of the code
Access this course and 1400+ top-rated courses and projects.