Next:
Up:
Previous:
Example: Factorial
Factorial(n)
if n
<
1
then return 1
else return n * Factorial(n-1)
T(n) =
Next:
Up:
Previous: