Examveda

You are given a rod of length 5 and the prices of each length are as follows:
length     price
    1	           2
    2	           5
    3	           6
    4	           9
    5	           9
What is the maximum value that you can get after cutting the rod and selling the pieces?

A. 10

B. 11

C. 12

D. 13

Answer: Option C


Join The Discussion

Related Questions on Dynamic Programming in Data Structures