Skip to content

Commit c00823e

Browse files
Update dynamic_programming/house_robber.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
1 parent 9146451 commit c00823e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dynamic_programming/house_robber.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ static void test() {
8383
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
8484
std::cout << "passed" << std::endl;
8585

86+
// Test 3
8687
// [] return 0
8788
std::vector<int> array3 = {};
8889
std::cout << "Test 3... ";

0 commit comments

Comments
 (0)