update leetcode problems about dp