Shortest Path Problem Leetcode Two Robots