Update backtracking/subarray_sum.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Swastika Gupta
2021-07-15 14:04:48 +05:30
committed by GitHub
parent e2f4d0847e
commit ffe83d13e6

View File

@@ -75,7 +75,7 @@ static void test() {
// second is the input array, answer is the subarray {(-3,-2,5)}
std::cout << "passed" << std::endl;
// Test 2
// 2nd test
std::cout << "2nd test ";
std::vector<int64_t> array2 = {1, 2, 3, 3};
assert(backtracking::subarray_sum::subarray_sum(6, array2) ==