mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
Update house_robber.cpp
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
* @brief Implementation of [House Robber Problem] algorithm
|
* @brief Implementation of [House Robber Problem](https://labuladong.gitbook.io/algo-en/i.-dynamic-programming/houserobber) algorithm
|
||||||
* @details
|
* @details
|
||||||
* Solution of House robber problem uses a dynamic programming concept that
|
* 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.
|
* works in \f$O(n)\f$ time and works in \f$O(1)\f$ space.
|
||||||
|
|||||||
Reference in New Issue
Block a user