LL 8 - Length of the Loop
Aug 3, 2024 · 3 min read · Problem statement You’re given a linked list. The last node might point to null, or it might point to a node in the list, thus forming a cycle. Find out whether the linked list has a cycle or not, and the length of the cycle if it does. If there is n...
Join discussion










