code - https://ide.codingblocks.com/s/238681
After 30 mins of debugging I can’t figure out why the for loop is repeating for i = 1.
Rod Cutting Java
@ranaabhinav50
I was unable to figure out your logic
But I added some debugging measures to help you debug
If you still can’t debug please explain your logic so that I can look into it better
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.