MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / Leaf

Struct Leaf

project_euler/problem_18/leaf.go:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package problem18
2
3type Leaf struct {
4 ID int
5 NodeValue NodeValue
6 NodeLeft *Leaf
7 NodeRight *Leaf
8 Parent Node
9}
10
11func (n *Leaf) Value() NodeValue {
12 return n.NodeValue

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected