Maximum Sum Path Leetcode Python Interview