Sum Numbers in a Linked List

This lesson helps you calculate the sum of numbers in a linked list using recursion.

Sum n Numbers

Given a linked list, add numbers and then return the sum. The following illustration explains the concept:

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.