MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / update

Method update

data_structures/segment_tree.cpp:62–70  ·  view source on GitHub ↗

* @brief Helper method for update method below * @param i The index of the current node * @param l The leftmost node of the current node * @param r The rightmost node of the current node * @param pos The position to update * @param val The value to update it to */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.45

Calls 1

updateFunction · 0.85

Tested by

no test coverage detected