Ask Question
16 January, 03:16

When should recursion be avoided?

+2
Answers (1)
  1. 16 January, 04:18
    0
    Explanation: Recursion is the process in which the solution to any particular problem is based on the sub-part of the same problem/question. This is the method which is used in the situation when there is high complexity and calling of the function can be done by its own code in a particular program.

    It makes the program code hard to handle and unreadable. The debugging process of the code also becomes difficult. The stack during the recursion process gets filled completely. These feature of the recursion makes it less efficient and thus, its avoided.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “When should recursion be avoided? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers