Ask Question

When should recursion be avoided?

+1
Answers (1)
  1. 28 May, 18:00
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers