Shortest Path Problem Leetcode Solutions