Question DSA-GRDY-0071
HardWhat is the 'exchange argument' used for?
- A.
Trading items in knapsack
- B.
Proving a greedy algorithm optimal by showing any optimal solution can be changed to the greedy one without loss
- C.
Sign up free to see the answer and a step-by-step explanation.