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

Method TreeNode

templates/segment-tree.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 TreeNode * left = nullptr;
13 TreeNode * right = nullptr;
14 TreeNode(int l, int r, int v):l(l), r(r), v(v){
15
16 }
17 TreeNode(int l, int r, int v, TreeNode * left, TreeNode * right):l(l), r(r), v(v),
18 left(left), right(right)
19 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected