Update dynamic_programming/house_robber.cpp

Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
This commit is contained in:
Swastika Gupta
2021-07-04 08:31:41 +05:30
committed by GitHub
parent fbec33e556
commit a22039aefa

View File

@@ -69,6 +69,7 @@ std::uint64_t houseRobber(const std::vector<int> &money, int n) {
* @returns void
*/
static void test() {
//Test 1
// [1, 2, 3, 1] return 4
std::vector<int> array1 = {1, 2, 3, 1};
std::cout << "Test 1... ";