From c00823e8dbdf920d5de4c48d273270d34034ef7b Mon Sep 17 00:00:00 2001 From: Swastika Gupta <64654203+Swastyy@users.noreply.github.com> Date: Sun, 4 Jul 2021 08:32:09 +0530 Subject: [PATCH] Update dynamic_programming/house_robber.cpp Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com> --- dynamic_programming/house_robber.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dynamic_programming/house_robber.cpp b/dynamic_programming/house_robber.cpp index a04ae164b..556d0f66a 100644 --- a/dynamic_programming/house_robber.cpp +++ b/dynamic_programming/house_robber.cpp @@ -83,6 +83,7 @@ static void test() { assert(dynamic_programming::house_robber::houseRobber(array2,array2.size())==19); // here the four non-adjacent houses that are robbed are first, third, fifth and seventh with total sum money as 19 std::cout << "passed" << std::endl; + // Test 3 // [] return 0 std::vector array3 = {}; std::cout << "Test 3... ";