---
# System prepended metadata

title: 'Delete X Nodes After Y Nodes of a Linked List:'

---

# Delete X Nodes After Y Nodes of a Linked List:
  
  For example, with X = 3, Y = 2:
  ```
  1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9 -> 10 -> 11 -> 12 -> 13
  1 -> 2                -> 6 -> 7                 -> 11 -> 12
  ```

