Respuesta :

Factorial describes how the result should look (e.g., 6!= 65432*1), it doesn't need a specific algorithm to get the result.

Which is better recursion or iteration and why?

Iteration is faster and more efficient than recursion. It's easier to optimize iterative codes, and they typically have polynomial time complexity. They are used to repeat over the elements current in data structures like an array, set, map, etc.

What is the best potential benefit of using recursion to solve a problem?

Recursion adds clarity and (sometimes) decreases the time needed to write and debug code (but doesn't necessarily reduce space conditions or speed of execution). Reduces time complexity. Performs better in solving problems established on tree structures.

To learn more about Factorial, refer

https://brainly.com/question/25997932

#SPJ4

ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE