MCPcopy 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
27func (n *Leaf) Kind() string {
28 return "leaf"
29}
30
31func (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