Leetcode Shortest Path Problem Examples