Nullbody Notes
Nov 13, 2023 · Fundamentals
Linked List Cycle II – Simple Reasoning to Detect a Cycle and Find Its Entry
The article explains how to detect a cycle in a singly‑linked list using fast and slow pointers, then locate the cycle’s entry node by resetting the slow pointer to the head and moving both pointers one step at a time, with full Go implementation provided.
AlgorithmLinked Listcycle detection
0 likes · 4 min read
