Problem Closed. This question is off-topic. It is not currently accepting answers. Questions containing broken code or asking for advice […]

# Tag: knapsack-problem

## Python Knapsack problem: greedy

Problem A tourist wants to make a good trip at the weekend with his friends. They will go to the […]

## Fractional Knapsack

Problem This is my solution to an assignment on the fractional Knapsack problem. I take as problem input the following […]

## Stampcalculator – Given a set of stamps, what combinations are there to reach a certain amount?

Problem Background My mother has a hobby of buying and reselling books via online trading sites. After a price is […]

## Find out how many laptops Molly can buy based on available money, array of quantities and array of costs

Problem Problem description: Molly wants to purchase laptops for her school. Find out how many laptops she can purchase by […]

## Subset sum problem implementation

Problem Here is a recursive implementation of the Subset sum problem: using System; namespace Exercise { class SubsetSum { static […]

## Find out how many laptops Molly can buy based on available money, array of quantities and array of costs

Problem Problem description: Molly wants to purchase laptops for her school. Find out how many laptops she can purchase by […]

## Knapsack01 problem, written in c#

Problem Is this code written in a decent style? Appreciate some feedback : ) private static int Max(int a, int […]

## Stampcalculator – Given a set of stamps, what combinations are there to reach a certain amount?

Problem Background My mother has a hobby of buying and reselling books via online trading sites. After a price is […]

## Fractional Knapsack

Problem This is my solution to an assignment on the fractional Knapsack problem. I take as problem input the following […]

- 1
- 2