29(April) Remove every kth node
28. Remove every kth node
Problem Description
n = 8
Linked list: 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8
k = 21 -> 3 -> 5 -> 7My Approach
Code (C++)
Contribution and Support
📍Visitor Count
Previous28(April) Delete Middle of Linked ListNext30(April) Add two numbers represented by linked lists
Last updated