Solution Review: Length of a Linked List
This lesson provides a detailed review of the solution to the challenge in the previous lesson.
We'll cover the following...
We'll cover the following...
Solution: Length of a Linked List
Understanding the Code
The code given above can be broken down into two parts. The recursive method and the main where the method is called.
Driver Method
The driver code is from line 17 to line 25.
-
In the driver code, from line 18 to ...