Challenge: Recursive factorial

Finish the provided factorial function, so that it returns the value n!n!.

Your code should use recursion to compute the product 1.2.3..n1 . 2 . 3 . … . n.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy