Recursion

This lesson explains the concept of recursion using the factorial example

Recursion Definition

Recursion is a method of function calling in which a function calls itself during execution.

Example

Let’s start by showing an example and then discussing it.

Create a free account to access the full course.

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