πŸ“Š Problem Solving and Python Programming
Q. Which of these is false about recursion?
  • (A) recursive function can be replaced by a non-recursive function
  • (B) recursive functions usually take more memory space than non-recursive function
  • (C) recursive functions run faster than non- recursive function
  • (D) recursion makes programs easier to understand
πŸ’¬ Discuss
βœ… Correct Answer: (C) recursive functions run faster than non- recursive function

Explanation: the speed of a program using recursion is slower than the speed of its non- recursive equivalent.


Explanation by: Mr. Dubey
the speed of a program using recursion is slower than the speed of its non- recursive equivalent.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
970
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate