Another solution to resolve combination sum problem using DP, but the solution cannot handle duplicated number in the array.