Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ Kind
Method
Kind
project_euler/problem_18/leaf.go:27–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(n *Leaf) Kind() string {
28
return
"leaf"
29
}
30
31
func
(n *Leaf) CreateChild(value NodeValue, id int) Node {
32
// Leafs only have leaf children
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected