[LeetCode] The Maze III 迷宮之三

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