Implement Shortest Path Leetcode Sql Certification