Distinct SubSequence II, DP