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

Function segment_tree_query

data_structures/binary_trees/segment_tree.c:105–126  ·  view source on GitHub ↗

* Query the segment tree * This function helps in range query of segment tree * This function assumes that the given range is valid * Performs the query in range [l,r] * @param tree pointer to segment tree * @param l the start of range * @param r the end of range * @param res the pointer to memory where result of query is stored */

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