integety Greedy and MiniMax