Recursion/rɪˈkɜːrʒn/ Definition 1 of 3Pro Tip 1/3Limiting Condition Recursion must have an endpoint to prevent infinite loops. The recursion stops when the function reaches zero. Pro Tip 2/3Programming Errors Misusing recursion can cause stack overflow, crashing the program. He forgot the base case, and the recursion caused a stack overflow. Pro Tip 3/3Efficiency Matters Recursion can be less efficient and slower than iteration in some cases. To improve speed, he replaced recursion with a loop.