MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / ListNode

Struct ListNode

tasks/19.go:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5}
6
7type ListNode struct {
8 Val int
9 Next *ListNode
10}
11
12func removeNthFromEnd(head *ListNode, n int) *ListNode {
13 ret := recursiveBackCounterDelete(head, n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected