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

Method treeMinimum

templates/red-black-tree.cpp:329–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 }
328
329 RBTreeNode* treeMinimum(RBTreeNode* x)
330 {
331 auto p = x;
332 while (p->left != nil) {
333 p = p->left;
334 }
335 return p;
336 }
337
338 void deleteInternal(RBTreeNode* z)
339 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected