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

Interface Node

project_euler/problem_18/problem18.go:35–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 NodeType string
34
35 Node interface {
36 Value() NodeValue
37 GetID() int
38 Left() Node
39 Right() Node
40 LeftIsNil() bool
41 RightIsNil() bool
42 HasSpace() bool
43 Kind() string
44 SetParent(Node)
45 CreateChild(NodeValue, int) Node
46 Insert(Node)
47 }
48)
49
50func Problem18(input []string, deep int) int {

Callers 41

MaxPathValueSearchMethod · 0.95
PrintReportMethod · 0.65
PrintPyramidMethod · 0.65
BFSInsertMethod · 0.65
PrintReportMethod · 0.65
PrintPyramidMethod · 0.65
accessNodeByLayerHelperFunction · 0.65
searchTreeHelperFunction · 0.65
inOrderHelperFunction · 0.65
preOrderRecursiveFunction · 0.65
postOrderRecursiveFunction · 0.65
calculateDepthFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected