more dp problems