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:21 +05:30
committed by GitHub
parent 489892930c
commit 0758be28e4

View File

@@ -91,7 +91,7 @@ static void test() {
// {(1),(1),(1),(1)}
std::cout << "passed" << std::endl;
// Test 4
// 4rd test
std::cout << "4th test ";
std::vector<int64_t> array4 = {3, 3, 3, 3};
assert(backtracking::subarray_sum::subarray_sum(6, array4) ==