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
English,
3 hours ago
English,
3 hours ago
English,
3 hours ago
Computer Science,
5 hours ago
Sociology,
7 months ago