Maximum Sum Path Leetcode Problems Sql