Min Max Falling Path Sum Leetcode Solution 862