Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acm-clan/algorithm-stone
/ setLeft
Method
setLeft
templates/rb.cpp:42–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
}
41
42
void setLeft(RBTreeNode* n)
43
{
44
if (n == nullptr) {
45
printf(
"wrong left\n"
);
46
}
47
this->left = n;
48
}
49
50
void setRight(RBTreeNode* n)
51
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected