Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ BTree
Struct
BTree
structure/tree/btree.go:15–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
}
14
15
type
BTree[T constraints.Ordered]
struct
{
16
root *BTreeNode[T]
17
maxKeys int
18
}
19
20
func
minKeys(maxKeys int) int {
21
return
(maxKeys - 1) / 2
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected