You are viewing a single comment's thread. Return to all comments →
I tried using the strategy above but had no sucess due to overlap problem
Then i tried resolving it using knapsack strategy and it worked.
Excel containing the pattern: https://imgur.com/a/qzbDG5S
Solution passed all cases
Seems like cookies are disabled on this browser, please enable them to open this website
The Coin Change Problem
You are viewing a single comment's thread. Return to all comments →
I tried using the strategy above but had no sucess due to overlap problem
Then i tried resolving it using knapsack strategy and it worked.
Excel containing the pattern: https://imgur.com/a/qzbDG5S
Solution passed all cases