Shortest Path Leetcode Problems Javascript Interview