mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com>
This commit is contained in:
parent
e88875aa58
commit
a32b32f01c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user