Dynamic Programming Pattern Leetcode Solutions Cpp Dates For Dec