Add DP solution.