Pregunta de entrevista de Noone

simple greedy based on points and sets