Update dynamic_programming/cut_rod.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Pardeep Bhatt
2020-09-26 00:30:28 +05:30
committed by GitHub
parent 37a836aa87
commit 14a4f46ce7

View File

@@ -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