Uva-10003 – Cutting Sticks

Solution Trick:

The problem goes to the simple Dynamic Programming. Just divide the problem into similar subproblems and write an efficient code. Actually,
for dp problem idea is very important for solving. So try to develop your own Algorithm.

My Code: Click Here

Leave a comment