β Factorial - Recursion(Contest)
Factorial - Recursion easy asked in interviews by 16 companies Time Limit: 2 sec Memory Limit: 128000 kB
static int Factorial(int N){
//Enter your code here
if(N == 0){
return 1;
}else
return (N * Factorial(N-1));
}
```Last updated