Computer Science - Recursion

Recursion

Overview

Recursion is a programming technique where a function calls itself in order to solve a problem. Each recursive call works on a smaller instance of the problem, gradually reducing the complexity until it reaches a base case, which stops the recursion.

Prerequisites

Learning Objectives

By the end of this module, learners will be able to:

Content

There are two components to this module:

  1. Lesson: Recursion
  2. Exercise: Writing Recursive Functions

Solution Code

Time to Complete

1.5 hours total:

Additional Resources

Internal resources

โœ๏ธ Instructor Guide

๐Ÿ—๏ธ Release Notes


Find a ๐Ÿ‘พ bug ๐Ÿ‘พ or have suggestions? Let us know!