Question DSA-LL-0015
HardAfter the slow and fast pointers meet inside a cycle, how is the start of the cycle found?
- A.
Reset one pointer to the head and move both one step at a time; they meet at the cycle's start
- B.
Count the cycle length and divide by two
- C.
Sign up free to see the answer and a step-by-step explanation.