Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anupam-kumar-krishnan/Competitive_Programming
/ getRoot
Method
getRoot
All Data Structures/TREE/BST.cpp:21–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
public:
20
BST() { root = nullptr; }
21
Node *getRoot() { return root; }
22
void iInsert(int key);
23
void Inorder(Node *p);
24
Node *iSearch(int key);
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected