Dynamic Programming Patterns Leetcode Two Robots