Single Source Shortest Path Leetcode