1.

Consider the following recursive implementation of the rod cutting problem. Complete the below code.

A. Max_price, prices[i] + rod_cut(prices,len i 1)
B. Max_price, prices[i 1].
C. Max_price, rod_cut(prices, len i 1)
D. Max_price, prices[i 1] + rod_cut(prices,len i 1)
Answer» B. Max_price, prices[i 1].


Discussion

No Comment Found