Shortest Path Leetcode Problems Sql