MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / treeMaxmum

Method treeMaxmum

templates/rb.cpp:360–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358 }
359
360 RBTreeNode* treeMaxmum(RBTreeNode* x)
361 {
362 auto p = x;
363 while (p != nil) {
364 p = p->right;
365 }
366 return p;
367 }
368
369 RBTreeNode* treeMinimum(RBTreeNode* x)
370 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected