Discussion 6 - greedy algorithms (exchange)