Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ GetID
Method
GetID
project_euler/problem_18/edge.go:59–61 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
}
58
59
func
(n *Edge) GetID() int {
60
return
n.ID
61
}
62
63
func
(n *Edge) Insert(node Node) {
64
// If Left is nil, always simply insert the node
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected