The Slow & Fast Pointers pattern (also known as Floyd's Cycle Detection Algorithm) uses two pointers moving at different speeds to traverse a linear or cyclic structure. It is commonly applied to ...