Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ SetParent
Method
SetParent
project_euler/problem_18/root.go:60–62 ·
view source on GitHub ↗
(node Node)
Source
from the content-addressed store, hash-verified
58
}
59
60
func
(n *Root) SetParent(node Node) {
61
panic(
"Root node cannot have a parent"
)
62
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected