xor example greedy and knapsack
See more