Pergunta de entrevista da empresa Noone

simple greedy based on points and sets