Shortest Path In Weighted Graph Leetcode