mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-11-04 06:45:45 +08:00
Update dynamic_programming/cut_rod.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -65,7 +65,8 @@ int maxProfitByCuttingRod(const std::array<int, T> &price, const int n) {
|
||||
} // namespace dynamic_programming
|
||||
|
||||
/**
|
||||
* Function to test above algorithm
|
||||
* @brief Function to test above algorithm
|
||||
* @returns void
|
||||
*/
|
||||
void test() {
|
||||
// Test 1
|
||||
|
||||
Reference in New Issue
Block a user