Ask Question
16 October, 13:03

When should recursion be avoided?

+3
Answers (1)
  1. 16 October, 13:24
    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?
Find an answer to your question ✅ “When should recursion be avoided? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers