Greedy algorithm, AC