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

Method NumArray

templates/segment-tree.cpp:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 NumArray(vector<int>& nums)
93 {
94 root = buildTree(nums, 0, nums.size()-1);
95 dump(root);
96 }
97
98 void update(int pos, int val)
99 {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected