MCPcopy Create free account
hub / github.com/TheAlgorithms/C / segment_tree_update

Function segment_tree_update

data_structures/binary_trees/segment_tree.c:79–93  ·  view source on GitHub ↗

* For point updates * This function updates the element at given index and also updates segment * tree accordingly * * @param tree pointer to segment tree * @param index the index whose element is to be updated (0 based indexing used) * @param val pointer to value that is to be replaced at given index */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected