mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 02:25:57 +08:00
Update backtracking/subset_sum.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user