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

Struct BTreeNode

structure/tree/btree.go:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import "github.com/TheAlgorithms/Go/constraints"
7
8type BTreeNode[T constraints.Ordered] struct {
9 keys []T
10 children []*BTreeNode[T]
11 numKeys int
12 isLeaf bool
13}
14
15type BTree[T constraints.Ordered] struct {
16 root *BTreeNode[T]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected