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

Method HasSpace

project_euler/problem_18/edge.go:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84}
85
86func (n *Edge) HasSpace() bool {
87 return n.NodeLeft == nil || n.NodeRight == nil
88}
89
90func (n *Edge) LeftIsNil() bool {
91 return n.NodeLeft == nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected