Fetching data...
This may take a moment
Back
1618. Delete N Nodes After M Nodes of a Linked List
Easy
Linked List
Solve on LeetCode
View Solutions
Description
Hints
Hint 1
Traverse the Linked List, each time you need to delete the next n nodes connect the nodes previous deleting with the next node after deleting.
Similar Questions
Remove Nth Node From End of List
Medium
Remove Zero Sum Consecutive Nodes from Linked List
Medium
Statistics
Acceptance
74.4%
Submissions
55,430
Accepted
41,223