Hacker News new | ask | show | jobs
by gaius 3201 days ago
This looks like a special case of the knapsack problem https://stackoverflow.com/q/7774769/447514