Leetcode Shortest Path Between Two Nodes