some DP Problems