| 6 | import "github.com/TheAlgorithms/Go/constraints" |
| 7 | |
| 8 | type BTreeNode[T constraints.Ordered] struct { |
| 9 | keys []T |
| 10 | children []*BTreeNode[T] |
| 11 | numKeys int |
| 12 | isLeaf bool |
| 13 | } |
| 14 | |
| 15 | type BTree[T constraints.Ordered] struct { |
| 16 | root *BTreeNode[T] |
nothing calls this directly
no outgoing calls
no test coverage detected