Implement Shortest Path Leetcode Sql Solutions Group