Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 197 Bytes

File metadata and controls

6 lines (4 loc) · 197 Bytes

Given a linked list, return the node where the cycle begins. If there is no cycle, return null.

Note: Do not modify the linked list.

Follow up: Can you solve it without using extra space?