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