Minimum Path Sum Triangle Leetcode Solution