M

Mr. Dubey • 100.69K Points
Coach

Q. Given a rod of length n and the selling prices of all pieces smaller than equal to n, find the most beneficial way of cutting the rod into smaller pieces. This problem is called the rod cutting problem. Which of these methods can be used to solve the rod cutting problem?

  • (A) brute force
  • (B) dynamic programming
  • (C) recursion
  • (D) brute force, dynamic programming and recursion
Share

Explanation by: Mr. Dubey
brute force, dynamic programming and recursion can be used to solve the rod cutting problem.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics