diff --git a/backtracking/subset_sum.cpp b/backtracking/subset_sum.cpp index 5f0a2ada1..63fced370 100644 --- a/backtracking/subset_sum.cpp +++ b/backtracking/subset_sum.cpp @@ -82,7 +82,7 @@ static void test() { // Test 4 std::cout << "4th test "; - std::vector array4 = {3, 3, 3, 3}; + std::vector array4 = {3, 3, 3, 3}; assert(backtracking::subset_sum::subset_sum(6, array4) == 6); // here we are expecting 6 subsets which sum up to 6 i.e. // {(3,3),(3,3),(3,3),(3,3),(3,3),(3,3)}