Update house_robber.cpp

This commit is contained in:
Swastika Gupta
2021-07-04 16:02:47 +05:30
committed by GitHub
parent ef3c5a0aff
commit e51a696751

View File

@@ -4,6 +4,7 @@
* @details
* Solution of House robber problem uses a dynamic programming concept that
* works in \f$O(n)\f$ time and works in \f$O(1)\f$ space.
* @author [Swastika Gupta](https://github.com/swastyy)
*/
#include <cassert> /// for assert