• + 2 comments

    What will happen if the fast pointer is moving 3 steps when slow pointer is moving 1 step ? Can any point to some material that explains Floyd's cycle-finding algorithm with theory.