If linked list having a loop is given. Count the number of nodes in the linked list

Question:

If linked list having a loop is given. Count the number of nodes in the linked listimage text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: