Shortest Path Problem Leetcode Solutions Github Copilot