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

Function findPartiion

dynamic_programming/partition_problem.cpp:54–81  ·  view source on GitHub ↗

* @brief Returns true if arr can be partitioned in two subsets of equal sum, * otherwise false * @param arr vector containing elements * @param size Size of the vector. * @returns @param bool whether the vector can be partitioned or not. *******************************************************************************/

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected