File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
/* *
2
2
* @file
3
- * @brief We are given with an array and a sum value. The algorithms find all
4
- * the subarrays of that array with sum equal to given sum and return such
3
+ * @brief [Subset-sum](https://en.wikipedia.org/wiki/Subset_sum_problem) (only continuous subsets) problem
4
+ * @details We are given an array and a sum value. The algorithms find all
5
+ * the subarrays of that array with sum equal to the given sum and return such
5
6
* subarrays count. This approach will have \f$O(n)\f$ time complexity and
6
- * \f$O(n)\f$ space complexity. NOTE: In this problem, we are only refering to
7
+ * \f$O(n)\f$ space complexity. NOTE: In this problem, we are only referring to
7
8
* the continuous subsets as subarrays everywhere. Subarrays can be created
8
- * using deletion operation at the end or the front of an array only. The parent
9
+ * using deletion operation at the end of the front of an array only. The parent
9
10
* array is also counted in subarrays having 0 number of deletion operations.
10
- * @details Subset sum(only continuous subsets) problem
11
- * (https://en.wikipedia.org/wiki/Subset_sum_problem)
11
+ *
12
12
* @author [Swastika Gupta](https://github.com/Swastyy)
13
13
*/
14
14
You can’t perform that action at this time.
0 commit comments