Correct answer: A. Detecting cycles or finding a middle element
Explanation
The fast and slow pointer technique uses two pointers moving at different speeds, often used to detect cycles or find a middle element.
Practise 3 questions on this topic
Take Linked Lists — Timed Test (3 questions) — scored instantly, explanation for every question, no login.