Skip to content

Commit 1328571

Browse files
Swastyyfhlasek
andauthored
Update backtracking/subset_sum.cpp
Co-authored-by: Filip Hlasek <fhlasek@gmail.com>
1 parent a32b32f commit 1328571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backtracking/subset_sum.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace Subsets {
3030
*/
3131

3232
std::uint64_t subset_sum(int sum, const std::vector<int> &in_arr) {
33-
int nelement = in_arr.size(); // number of subset element
33+
int nelement = in_arr.size();
3434
int count_of_subset = 0;
3535

3636
for (int i = 0; i < (1 << (nelement)); i++) {

0 commit comments

Comments
 (0)