Maximization Problem (Greedy Algorithm)