Completed GreedySetOne