Maximum Sum Path Leetcode Problems Sqlite3