Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anupam-kumar-krishnan/Competitive_Programming
/ InPre
Method
InPre
All Data Structures/TREE/BST.cpp:218–225 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
216
}
217
218
Node *BST::InPre(Node *p)
219
{
220
while (p && p->rchild != nullptr)
221
{
222
p = p->rchild;
223
}
224
return p;
225
}
226
227
Node *BST::InSucc(Node *p)
228
{
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected