[LeetCode] 505. 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, i
相关文章
相关标签/搜索