Challenge 1: Length of a Linked List

In this lesson, the user is required to convert the iterative code for finding the length of a Linked List into a recursive one.

We'll cover the following

Problem Statement

Given a Linked List, you are required to find the length of the list using recursion.

The illustration below explains the concept.

Create a free account to view this lesson.

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