Computing - Recursion


See Also

Flashcards

What are the three rules of recursion?


  • Base condition
  • The function calls itself
  • Finite amount of runs

What is the main disadvantage of recursion?


It uses a lot of memory on the stack.




Related posts