Leetcode Concepts Flashcards

1
Q

Linked List Cycle

A

Distance between
head of the Linked List and Start of the cycle
is equal to the
Distance between Node where the slow and first pointer meet and start of the cycle.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly