Rope Cutting Problem
Sun Feb 06 2022 21:32:20 GMT+0000 (Coordinated Universal Time)
Saved by @Uttam #java #gfg #geeksforgeeks #lecture #recursion #rope cutting
Example 1: Input : n = 5, a = 2, b = 5, c = 1 Output : 5 (We make 5 pieces of length 1 each) Example 2: Input : n = 23, a = 12, b = 9, c = 11 Output : 2 (We make 2 pieces of length 11 and 12) Example 3: Input : n = 5, a = 4, b = 2, c = 6 Output : -1 (Not Possible)
Comments
@Darshil_4196 - Thu Aug 04 2022 11:37:42 GMT+0000 (Coordinated Universal Time)What is the description of this problem?