Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arnauddri/algorithms
/ Node
Struct
Node
data-structures/binary-tree/bst.go:5–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
import
()
4
5
type
Node
struct
{
6
Value int
7
Parent *Node
8
Left *Node
9
Right *Node
10
}
11
12
func
NewNode(i int) *Node {
13
return
&Node{Value: i}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected