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: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
bb9921bbea
commit
31a1deaef7
@ -19,9 +19,7 @@
|
||||
namespace backtracking {
|
||||
/**
|
||||
* @namespace Subsets
|
||||
* @brief Functions for counting subsets(both continuous and non-continuous
|
||||
* subarrays) in a given array with a given sum Time Complexity: O(n * 2^n),
|
||||
* where ‘n’ is the number of elements in the given array.
|
||||
* @brief Functions for the [Subset Sum](https://en.wikipedia.org/wiki/Subset_sum_problem) problem.
|
||||
*/
|
||||
namespace Subsets {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user