[LeetCode] The Maze II 迷宮之二

There is a ball in a maze with empty spaces and walls. The ball can go through empty spaces by rolling up, down, left or right, but it won't stop rolling until hitting a wall. When the ball stops, it
相關文章
相關標籤/搜索