Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ ListNode
Struct
ListNode
tasks/206.go:3–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
package
main
2
3
type
ListNode
struct
{
4
Val int
5
Next *ListNode
6
}
7
8
func
reverseList(head *ListNode) *ListNode {
9
current := head
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected