Dp problem.s

subset distinct num.