How recursion is equivalent to the regular loops?
Answers
Answered by
0
Answer:
Recursion has more expressive power than iterative looping constructs. I say this because a while loop is equivalent to a tail recursive function and recursive functions need not be tail recursive. ... Recursive functions that use immutable data. While loops that use mutable data
Answered by
0
Answer:
The recursion and regular loops are equivalent in terms of computational expressiveness. That is, any program written recursively can be rewritten into an equivalent program using loops instead, and vice versa to it.
Explanation: isnt it helpful !
Similar questions
Math,
13 days ago
Hindi,
13 days ago
India Languages,
13 days ago
Computer Science,
28 days ago
Sociology,
8 months ago