Maximum Vector

Greedy solution