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

Method Key

structure/tree/bstree.go:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22func (n *BSNode[T]) Key() T {
23 return n.key
24}
25
26func (n *BSNode[T]) Parent() Node[T] {
27 return n.parent

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected