Dynamic Programming Problem (using YCombinator)