add dp and leetcode