Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ GetID
Method
GetID
project_euler/problem_18/leaf.go:42–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
func
(n *Leaf) GetID() int {
43
return
n.ID
44
}
45
46
func
(n *Leaf) Insert(node Node) {
47
// If Left is nil, always simply insert the node
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected