Dynamic Programming Patterns Leetcode Solutions In C