Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acm-clan/algorithm-stone
/ remove
Method
remove
templates/rb.cpp:411–417 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
409
}
410
411
void remove(int k)
412
{
413
auto z = getInternal(root, k);
414
if (z) {
415
deleteInternal(z);
416
}
417
}
418
419
private:
420
RBTreeNode* root = nullptr;
Callers
15
main2
Function · 0.45
main
Function · 0.45
generate_codeforces
Method · 0.45
generate_leetcode
Method · 0.45
merge_segmenttree
Function · 0.45
merge_rbtree
Function · 0.45
merge_kmp
Function · 0.45
merge_trie
Function · 0.45
show_left
Method · 0.45
remove_edge
Method · 0.45
move_nodes
Method · 0.45
hide_all
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected