Find the factorial of a number using iteration.
MediumProblem Statement
Find the factorial of a number using iteration.
Sample Input
5
Sample Output
120
Limits
Time: 2s · Memory: 256 MB
Find the factorial of a number using iteration.
5
120
Time: 2s · Memory: 256 MB