MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / Node

Interface Node

structure/tree/tree.go:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type Node[T constraints.Ordered] interface {
16 Key() T
17 Parent() Node[T]
18 Left() Node[T]
19 Right() Node[T]
20}
21
22// The following is a collection of helper functions for BinarySearch, AVL and RB.
23

Callers 10

accessNodeByLayerHelperFunction · 0.65
searchTreeHelperFunction · 0.65
inOrderHelperFunction · 0.65
preOrderRecursiveFunction · 0.65
postOrderRecursiveFunction · 0.65
levelOrderHelperFunction · 0.65
predecessorHelperFunction · 0.65
successorHelperFunction · 0.65
predecessorHelperFunction · 0.65
successorHelperFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected