Update backtracking/subset_sum.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Swastika Gupta 2021-07-07 08:45:32 +05:30 committed by GitHub
parent 27a1fdfbcc
commit 4961e4436b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
* We are given an array and a sum value. The algorithms find all * 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 * the subsets of that array with sum equal to the given sum and return such
* subsets count. This approach will have exponential time complexity. * 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 #include <cassert> /// for assert