Skip to content

knapsack01 problem fetches incorrect item weight#257

Open
stalk-calvin wants to merge 1 commit intodonnemartin:masterfrom
stalk-calvin:knapsack01_bug
Open

knapsack01 problem fetches incorrect item weight#257
stalk-calvin wants to merge 1 commit intodonnemartin:masterfrom
stalk-calvin:knapsack01_bug

Conversation

@stalk-calvin
Copy link

I think this is a bug because item weight won't be subtracting the current weight correctly if you subtract the row earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants