Формула фактического
return n * factorial(n-1)
Tough Tarsier
return n * factorial(n-1)
factorial formula
n! = n * ( n - 1 ) *...*1