Skip to content

Commit 1b82d49

Browse files
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
1 parent 71a742e commit 1b82d49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backtracking/subset_sum.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* @file
3-
* @brief Program to Count number of subsets (non-continuous
4-
* subarrays) with a given sum
3+
* @brief We are given with an array and a sum value. The algorithms find all the subsets of that array with sum equal to given sum and return such subsets count. This approach will have exponential time complexity.
54
*
65
* @details Subset problem (https://en.wikipedia.org/wiki/Subset_sum_problem)
76
* @author [Swastika Gupta](https://github.com/swastyy)

0 commit comments

Comments
 (0)