Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Go
/ Right
Method
Right
structure/tree/rbtree.go:45–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
func
(n *RBNode[T]) Right() Node[T] {
46
return
n.right
47
}
48
49
// RB represents a Red-Black tree.
50
// By default, _NIL = leaf, a dummy variable.
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected