We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e88875a commit a32b32fCopy full SHA for a32b32f
backtracking/subset_sum.cpp
@@ -18,7 +18,7 @@ namespace backtracking {
18
/**
19
* @namespace Subsets
20
* @brief Functions for counting subsets in a given array with a given sum
21
- * 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.
22
* size of the array.
23
*/
24
namespace Subsets {
0 commit comments