Fetching data...
This may take a moment
Back
2835. Split a Circular Linked List
Medium
Linked List
Two Pointers
Solve on LeetCode
View Solutions
Description
Hints
Hint 1
Do a while loop to calculate the size of the linked list.
Hint 2
Determine the size of the first half and create a new linked list in its size.
Hint 3
Do not forget that this half itself should be circular!
Hint 4
Use the previous hints for the second half.
Similar Questions
Split Linked List in Parts
Medium
Statistics
Acceptance
77.5%
Submissions
4,034
Accepted
3,128