Cutting Rod Dynamic Programming Leetcode Problems