Dynamic Programming Pattern Leetcode Contest Prediction