Computer Science, asked by saqlainmushtaq818, 5 hours ago

How recursion is equivalent to the regular loops?​

Answers

Answered by Anonymous
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 alepratima321
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