Shortest Path Problem Leetcode Sql Solutions