Which of the following is an advantage of using recursion? The code is easier to debug. The code looks cleaner. The program is more stable. The program runs more quickly.
@smokeybrown
@smokeybrown
Ok thanks
smokeybrown
I have found a source, hopefully it helps: "Recursion adds clarity and (sometimes) reduces the time needed to write and debug code (but doesn't necessarily reduce space requirements or speed of execution). Reduces time complexity. Performs better in solving problems based on tree structures." So basically I would think the answer would be "The code is easier to debug." because, it says that recursion adds clarity and reduces the time needed to write and DEBUG CODE. Source I found it from in case of furthermore questions: https://stackoverflow.com/questions/5250733/what-are-the-advantages-and-disadvantages-of-recursion
So wuts the answer?????
Read it and get your answer, we can’t give you an answer directly
Ight lets see
Join our real-time social learning platform and learn together with your friends!