Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShahjalalShohag/code-library
/ get_subtree
Method
get_subtree
Data Structures/Top Tree.cpp:469–473 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
467
}
468
469
friend top_tree_node* get_subtree(top_tree_node* rt, top_tree_node* n) {
470
rt->make_root();
471
n->expose();
472
return n;
473
}
474
};
475
476
int main() {
Callers
nothing calls this directly
Calls
2
expose
Method · 0.80
make_root
Method · 0.45
Tested by
no test coverage detected