You are viewing a single comment's thread. Return to all comments →
this is just the coin change problem with varying n (amount)....my solution was O(m*m*n) but it is ok as the values of m and n are small
Seems like cookies are disabled on this browser, please enable them to open this website
Knapsack
You are viewing a single comment's thread. Return to all comments →
this is just the coin change problem with varying n (amount)....my solution was O(m*m*n) but it is ok as the values of m and n are small