Challenge: Tail Recursion

Test yourself and implement what you have learned so far in this challenge.

Problem Statement

In a previous lesson on recursion, we implemented the recursive factorial function. You need to design a tail-recursive version of the factorial function given below.

Create a free account to access the full course.

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