We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Dynamic Programming
- Knapsack
- Discussions
Knapsack
Knapsack
Sort by
recency
|
266 Discussions
|
Please Login in order to post a comment
there is an error in the solution class, is just running one test
there is an error in the solution class, is just running one test
For JavaScript is also needed to fix the main.
As people have already stated, there are errors in the way the problem was formulated, but it is still solvable. This was my inneficient but workable C# solution:
Annoyingly ... we hade to update the main function to get the code to loop through all test cases ... shoulda put that in the instructions.