Top

Discussion

Usually recursion works slower than loops.

  • A.Yes
  • B.No

Answer: A

When a recursive call is made, the function/process clones itself and then process that funtion. This leads to time and space constrains.

In a loop, there is no recursive call involved that saves a lot of time and space too.

No comment is present. Be the first to comment.
Loading…

Post your comment