Write a function to find the factorial of a number using recursion.
MediumProblem Statement
Write a function to find the factorial of a number using recursion.
Sample Input
5
Sample Output
Factorial: 120
Limits
Time: 2s · Memory: 256 MB
Write a function to find the factorial of a number using recursion.
5
Factorial: 120
Time: 2s · Memory: 256 MB