142. Linked List Cycle II
problem description
Input: head = [3,2,0,-4], pos = 1
Output: tail connected index 1
Explanation: There is a cycle in the linked list, where tail connects to the second node.


algorithm thought
code
algorithm analysis
Last updated