Question: Find length of linked list with recursion and NO function parameter. I'm aware that we can find the length easily with an input parameter the

Find length of linked list with recursion and NO function parameter.

I'm aware that we can find the length easily with an input parameter the following way:

Find length of linked list with recursion and NO function parameter. I'm

But I have to make a recursive funtion with NO parameter. How is this done? Language dosen't really matter, I will translate to C++, just need the logic.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!