Update backtracking/subset_sum.cpp

Co-authored-by: Filip Hlasek <fhlasek@gmail.com>
This commit is contained in:
Swastika Gupta 2021-06-30 00:19:26 +05:30 committed by GitHub
parent e88875aa58
commit a32b32f01c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ namespace backtracking {
/**
* @namespace Subsets
* @brief Functions for counting subsets in a given array with a given sum
* Time Complexity: O(sum*n), where the sum is the target sum and n is the
* Time Complexity: O(n * 2^n), where n is the number of elements in the given array.
* size of the array.
*/
namespace Subsets {