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

Function subarray_sum

backtracking/subarray_sum.cpp:39–60  ·  view source on GitHub ↗

* @brief The main function that implements the count of the subarrays * @param sum is the required sum of any subarrays * @param in_arr is the input array * @returns count of the number of subsets with required sum */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 2

findMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected