vidit2512 / OJSolution

It contains solutions of various contests held on various online judges and various algorithms implemented in various languages.
5 stars 9 forks source link

Add rod_cutting_problem solution #15

Closed vidushi25dec closed 2 years ago

vidushi25dec commented 2 years ago

Solution to the Rod Cutting Problem here, we have to find the maximum value obtained by cutting up the rod and selling the pieces.

Input Format: Length of Rod Values of array (acc. to the length)

Output Format: Answer image

vidit2512 commented 2 years ago

LGTM