From 02cdd500c1262bd509c27a857b9071079bd85ac8 Mon Sep 17 00:00:00 2001 From: Pardeep Bhatt Date: Sat, 26 Sep 2020 00:58:15 +0530 Subject: [PATCH] Update dynamic_programming/cut_rod.cpp Co-authored-by: David Leal --- dynamic_programming/cut_rod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamic_programming/cut_rod.cpp b/dynamic_programming/cut_rod.cpp index f6dd9e586..1d91069a2 100644 --- a/dynamic_programming/cut_rod.cpp +++ b/dynamic_programming/cut_rod.cpp @@ -34,7 +34,7 @@ namespace dynamic_programming { */ namespace cut_rod { /** - * @brief maxProfitByCuttingRod function cuts the rod in different pieces and + * @brief Cuts the rod in different pieces and * stores the maximum profit for each piece of the rod. * @param n size of the rod in inches * @param price an array of prices that contains prices of all pieces of size<=n