mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-09 07:32:54 +08:00
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* We are given an array and a sum value. The algorithms find all
|
||||
* the subsets of that array with sum equal to the given sum and return such
|
||||
* subsets count. This approach will have exponential time complexity.
|
||||
* @author [Swastika Gupta](https://github.com/swastyy)
|
||||
* @author [Swastika Gupta](https://github.com/Swastyy)
|
||||
*/
|
||||
|
||||
#include <cassert> /// for assert
|
||||
|
||||
Reference in New Issue
Block a user