Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given a set of items, each with a weight and a value, and a knapsack with a weight limit. Maximize the total value of items that can be put into the knapsack.

Run the code to see the output here...